Setting up R and RStudio: Installing R and RStudio
Keeping your R environment up-to-date
How to keep R and RStudio up to date?
Besides removing your current version(s) and installing from scratch a new version (including the R packages that you use), you can do the following:
- RStudio : select Check for Updates in the Help menu.
- R, but only for MS Windows users: use the following code to update R from within RStudio:
You have downloaded the latest version with this, but RStudio does not automatically use this newest version; it continues to use the old version. To make RStudio use the new version, follow the following steps:
install.packages("installr")
library(installr)
updateR()- Go to
Tools > Global Options; - Click on the
Changebutton next toR version; - Select the latest version;
- Close RStudio and open it again (if RStudio doesn't do this automatically);
- Check the startup screen to ensure you are indeed using the latest version.
- Go to
Unlock full access