Ubuntu16.04安装最新版R4.0

尝试后的脚本

# 查看系统版本名称,16.04为xenial
lsb_release -sc
# 在/etc/apt/sources.list添加以下信息
deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran40/
# 安装R
sudo apt-get update
sudo apt-get install r-base
作者:Qingyun
                
comments powered by Disqus