Pages

Subscribe:

Social Icons

Monday, November 17, 2014

Elementary OS - Installing R and R Studio on 14.04


R is a popular free package statistical computing and graphics.  Installation of R studio in Elementary OS (freya) is relatively easy.

First add the follwoing line to the /etc/apt/sources.list

deb http://cran.rstudio.com/bin/linux/ubuntu trusty/

Then run the following command
 
sudo apt-get update

And Then run

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9


 Then install r-base

sudo apt-get install r-base

Installing R studio

  • From RStudio website, select and download the right package. Keep in mind to download R studio Free (open source edition).
  • Open the file in Ubuntu Software Center
  • Click install and you’re done
This is how R studio is running on Elementary OS freya.


2 comments:

vcolano said...

This was very helpful!

I was getting hung up as I didn't know I had to add the line to /etc/apt/sources.list

Faccin said...

sudo nano /etc/apt/sources.list

Post a Comment