简体   繁体   English

在 Ubuntu 18.04 上将 R 更新到 3.5+

[英]Updating R to 3.5+ on Ubuntu 18.04

I'm looking to update R on our ubuntu 18.04 server to 3.5 or higher but I'm experiencing some difficulties.我希望将 ubuntu 18.04 服务器上的 R 更新到 3.5 或更高版本,但我遇到了一些困难。

Installing it via install r-base results in version 3.4.x, we need 3.5 or higher to run some specific scripts.通过install r-base安装它会产生 3.4.x 版本,我们需要 3.5 或更高版本来运行一些特定的脚本。 I've also consulted this website: https://cran.ma.imperial.ac.uk/ , and attempted add the repository listed ( sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+ ) but this results in the following errors:我还咨询了这个网站: https://cran.ma.imperial.ac.uk/ ,并尝试添加列出的存储库( sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+ )但结果如下在以下错误中:

Cannot add PPA: 'ppa:~c2d4u.team/ubuntu/c2d4u4.0+'.

ERROR: '~c2d4u.team' user or team does not exist.

At this point, I'm at a loss.在这一点上,我不知所措。 I'm wondering if it's potentially a firewall issue?我想知道这是否可能是防火墙问题? or is there a setting I need to change.或者是否有我需要更改的设置。

What about downloading.deb(s) from https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran40/ and installing them with dpkg / apt?https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran40/下载.deb(s)并使用 dpkg / apt 安装它们怎么样?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM