If you're using a Mac computer, you can use the new updateR package to update the R version from RStudio: http://www.andreacirillo.com/2018/02/10/updater-package-update-r-version-with-a-function-on-mac-osx/
In summary, you need to perform this:
To update your R version from within Rstudio using updateR you just have to run these five lines of code:
install.packages('devtools') #assuming it is not already installed library(devtools) install_github('andreacirilloac/updateR') library(updateR) updateR(admin_password = 'Admin user password')
at the end of installation process a message is going to confirm you the happy end:
everything went smoothly open a Terminal session and run 'R' to assert that latest version was installed