将R从3.4.4升级到Linux Mint 19上的最新版本

时间:2019-08-21 19:06:18

标签: r linux updates

我知道有很多关于在Linux Mint上升级R的文章,但是这些文章对我来说都没有用。我遵循了这个github页面上的指示: “ https://github.com/duckmayr/install-update-r-on-linux

当我更新(sudo apt update)时,所有功能都运行顺利,并且在输出的一行中看到了这一点:

Hit:12 http://archive.linux.duke.edu/cran/bin/linux/ubuntu bionic-cran35/ InRelease  

但是当我加载R时,它仍然保持版本3.4.4

我尝试删除R并用sudo apt install r-base重新安装,但遇到此消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 r-base : Depends: r-recommended (= 3.6.1-3bionic) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我正在运行linux mint 19肉桂版本3.8.9

任何帮助将不胜感激。

谢谢!

0 个答案:

没有答案