Sorry mis-read that.
I am at a loss at the moment though I suppose if you wanted to give it a try you could try the Preview version of RStudio.
Alternatively, if no one turns up with a better idea you might want to try a re-install of R.
Sorry not to be of more help.