Monday, May 25, 2015

How to upgrade R and RStudio


Type below commands in command line

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 You will see all packages will work.

Note:
If you will face any problem then type

install.packages(“type packages name here”, dependencies=TRUE)

No comments:

Post a Comment