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:
install.packages("installr")
library(installr)
updateR()- Go to
Tools > Global Options
; - Click on the
Change
button 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