Nowadaysthe R software update on Windows is not more a boring task. The R can be easily updated with the “installr” package. Just follow these steps:
  1. Install the package using install.packages(“installr”)
  2. Load package with library(“installr”)
  3. Use the function updateR() to update!

The dialog box will be opened to take you through the following steps:
  1. It checks for a newer version of R.
  2. If one exists, the function will download the most updated R version and run its installer.
  3. Once done, the function will offer to copy (or move) all of the packages from the old R library to the new R library.
  4. It will then offer to update the moved packages, offer to open the new Rgui, and lastely, it will quit the old R.