
stackoverflow.com
https://stackoverflow.com/questions/13656699/updat…
Update R using RStudio - Stack Overflow
For completeness, the answer is: you can't do that from within RStudio. @agstudy has it right - you need to install the newer version of R, then restart RStudio and it will automagically use the new version, as @Brandon noted. It would be great if there was an update.R () function, analogous to the install.packages () function or the update.packages (function). So, in order to install R, go to ...