Ubuntu 16.04 LTS 安装R及RStudio Server


Ubuntu 16.04 LTS 安装R及RStudio Server

1.R的安装

1.1首先添加镜像源

# Ctrl+Alt+T打开终端
$ sudo gedit /etc/apt/sources.list
# 加入新镜像源 回车之后会自动跳出一个文本框,然后在相似的地方输入
deb http://cran.rstudio.com/bin/linux/ubuntu trusty/

加载镜像源还可以使用以下方法:

deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu xenial/
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu wily/
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/
or 

相关内容

    暂无相关文章