Teach you to upgrade r in the Windows environment

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.