ubuntu 16 install R

1. Add R repository
First, we’ve got to add a line to our /etc/apt/sources.list file. This can be accomplished with the following. Note the “xenial” in the line, indicating Ubuntu 16.04. If you have a different version, just change that.
sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
2. Add R to Ubuntu Keyring
First:
 gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
Then:
 gpg -a --export E084DAB9 | sudo apt-key add -
3. Install R-Base
Most Linux users should be familiar with the old…
sudo apt-get update
sudo apt-get install r-base r-base-dev
4.
sudo apt-get install libfuse-dev libcurl4-openssl-dev libxml++2.6-dev libssl-dev openjdk-8-*  libglu1-mesa-dev  libgeos-dev libgdal1-dev libproj-dev libfreetype6-dev libgmp-dev libmpfr-dev

评论

此博客中的热门博文

V2ray websocket(ws)+tls+nginx分流

Rstudio 使用代理