Created
December 14, 2016 16:02
-
-
Save KarthiAru/bc9058b7ef431417c7ac9993f541f295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#update packages | |
sudo apt-get update | |
#add trusty to our sources.list | |
sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list' | |
#add the public keys | |
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 | |
gpg -a --export E084DAB9 | sudo apt-key add - | |
#install R | |
sudo apt-get update | |
sudo apt-get -y install r-base | |
#check R version | |
R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment