RStudio Error – “ERROR r error 4”
A few weeks ago, I wrote a post on TERR compatible versions of R and RStudio. At that time, I realized I needed to update my RStudio and R versions. In doing that, I ran into an RStudio error when launching my newly updated RStudio. Since I ran into this problem, I am sure other users will too.
This error occurs when RStudio can’t find the installation of R. Fixing it is super simple. Simply hold down the Ctrl key when launching R and a popup will appear that allows you to specify the R installation location.
Now, I’m unsure what order of operations I followed and/or if the order of operations caused my problem, but I would recommend the following…
- Uninstall R
- Uninstall RStudio
- Install new R
- Install new RStudio
Hopefully, your installation goes easier than mine did.