R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. The R language is heavily utilized by analysts and data engineers/miners for creating statistical software and data/info analysis. This article will serve as a step-by-step guide to update your existing version of the R Language on Windows.
Step by Step Implementation
Step 1: Check your existing installation version by heading over to RStudio and typing the version in the console. This should give you the information about your major and minor R installed versions. Something like this:
Step 2: Head over to RGui, (remember do not go to RStudio, search for RGui in your Windows Start Menu). Install and load a package called installr, using these commands:
Step 3: Simply run the command installr::updateR() and wait for the Information Dialogue Box to show up.
Step 4: Navigate through all the installation procedures as shown below:
Step 4.1: If you like to keep yourself spam-free, then press No.
Step 4.2: Click on Yes, if you want to update your R installation version
Step 4.3: Unless you have a new and clean installation, definitely click on Yes
Step 4.4: If you weren’t working on production-grade projects at the time, then press No.
Step 4.5: This is related to RShiny. Click on Yes.
Step 4.6: Although the packages should have backward compatibility, still click on Yes.
Step 5: After all the installation is done, close your RGui and head back to RStudio and again run the command version to check whether your R installation has been updated or not.
Congratulations!! You have successfully upgraded your R installation to the newest R version available. Now go on ahead and write some awesome R scripts.