在Ubuntu 14.04上安装R.

时间:2016-06-22 20:31:24

标签: r ubuntu

我的机器上有R 3.3.0。在将R从3.3.0升级到3.3.1的过程中,我遇到了一些问题(一切都已损坏且R不存在 - >我的生活很艰难)。现在,当我尝试安装R时,我收到以下错误。

yaseen@yaseen:~$ sudo apt-get 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-base-core (>= 3.3.0-2xenial0) but it is not going to be installed
          Depends: r-recommended (= 3.3.0-2xenial0) but it is not going to be installed
          Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

也试过

sudo apt-get remove r-base && sudo apt-get autoremove

sudo apt-get remove r-base && sudo apt-get autoremove

0 个答案:

没有答案