In a Windows environment, we can use installr
packages to automatically upgrade R to the latest version. And you can install the software. The following main demonstration is how to upgrade R in a Windows environment and copy the R packages installed by older versions to the updated version of R.
1. Load INSTALLR Package
install.packages("installr")library(installr)
2. Select "Update R" in the "Installr" menu.
3, INSTALLR will detect whether a new version of R is released, if you check to have a click "OK" to update R.
4, if you want to know about the new version of the introduction of R, click "Yes", you can open this information in the browser.
5. Download and install the latest version of R, click "Yes".
6, waiting for the download of R
7. Click the Next button in the Installation Wizard
8, waiting to complete the installation of R
9. Copy the package from the old version R to the new version R, click "Yes"
10. Keep the package to the previous version of R (for security reasons), click Yes
11, copy the old version of the configuration file Rprofile.site to the new version R
12. Update the version of the package in the new R, click "Yes"
13. Replace the R version used in Rstudio
At this point, we've upgraded to the latest version of R.
This article is responsible for the translation of the snow-clear data network, please refer to a step by step (screenshots) tutorial for upgrading R on the Windows author Tal Galili. Reprint please indicate this article link http://www.xueqing.tv/cms/article/200
Teach you to upgrade r in the Windows environment