在Ubuntu 18.04 LTS

时间:2018-06-02 04:07:32

标签: r ubuntu installation updating ubuntu-18.04

R 3.5.0 于2018年4月25日发布。我尝试在 Ubuntu 18.04 LTS上安装 R 3.5.0 。我尝试了以下代码

echo "deb http://cran.stat.ucla.edu/bin/linux/ubuntu `lsb_release -sc`/" | sudo tee --append /etc/apt/sources.list.d/cran.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo apt update
sudo apt install r-base

Reading package lists... Done
Building dependency tree       
Reading state information... Done
r-base is already the newest version (3.4.4-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

想知道如何在 Ubuntu 18.04 LTS 上安装 R 3.5.0

1 个答案:

答案 0 :(得分:5)

如果没有二进制文件,您始终可以从源代码编译。 有关编译说明,您可以看到:https://www.r-bloggers.com/installing-r-on-ubuntu/