2020-01-19

Updating R using RStudio

Problem

We want to update R using RStudio.

Solution

  1. We install the package installr
  2. install.packages("installr")
    
  3. We run the following code:
  4. library(installr)
    updateR()
    
  5. First, it will check if you have the latest version. You will be prompted with multiple dialog boxes guiding you through the process. It will download the installer and you will have the option to copy the packages to the new location.
  6. Finally, you can select the latest R version in Tools > Global Options > General > R version.

No hay comentarios:

Publicar un comentario

Nube de datos