R and RStudio – Upgradation

To upgrade R and RStudio type the following commands:

  $sudo apt-get install libcurl4-openssl-dev
  $sudo apt-get install libxml2-dev
  $sudo add-apt-repository ppa:marutter/rrutter 
  $sudo apt-get update 
  $sudo apt-get upgrade 
  $sudo apt-get install r-base r-base-dev

Now restart your Rstudio.

Note:
If you face any problem then type

install.packages(“<PackageName>”, dependencies=TRUE)

Leave a comment