Sunday, July 13, 2014

Installing R in Ubuntu

The current version of R available when a new version of Ubuntu is released is always available in the universe repository. To install R:
sudo apt-get install r-base r-base-dev
This will install R, the recommended packages, and files needed to install many additional packages (but not all) from within R using install.packages("foo"). The R packages found in the universe repository are not updated when new versions of R or the recommended packages are released



Source:http://www.personal.psu.edu/mar36/blogs/the_ubuntu_r_blog/installing-r.html

Installing R Studio:

  1.   wget -P /home/ashish/R https://download1.rstudio.org/rstudio-1.0.44-amd64.deb
  2. Cd R
  3. sudo gdebi rstudio-1.0.44-amd64.deb