Install R-base 3.1.0 in Ubuntu 14.04

R is a free software environment for statistical computation and graphics.  It consists of a language plus a run-time environment with graphics, a debugger, access to certain system functions, and the ability to run programs stored in script files. Steps to installing this on Ubuntu 14.04 Trusty Tahr 64bit OS

Step 1: Uninstall Previous R-base installation

sudo apt-get remove r-base-core

Step 2: Update Sources.List File

– Edit the sources.list file

sudo gedit /etc/apt/sources.list

– Add following entry

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

Step 3: Add the Public Keys

gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -

Step 4: Install R-base

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install r-base

Step 4: Launch R-base

R

r-base-310-01

 
comments powered by Disqus