Gangmax Blog

自由之思想,独立之精神

Install R on Ubuntu Xenial 16.04

| Comments

From here and here.

Install R-base

1
2
3
4
5
sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get install r-base r-base-dev

Install R-Studio

Go to ”www.rstudio.com and find the latest package file for you. For me it’s ”RStudio 1.0.44 - Ubuntu 12.04+/Debian 8+ (64-bit)”. Install it with “Ubuntu Software” in GUI.

Comments