How can I update R via RStudio?
10 Answers
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 ,
- click on 'CRAN',
- then choose the CRAN site that you like. I like Kansas: .
- click on 'Download R for XXX' [where XXX is your operating system]
- follow the installation procedure for your operating system
- restart RStudio
- rejoice