安装R base的问题

时间:2015-05-14 17:28:48

标签: r

尝试安装R

时,我一直收到此错误消息
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.2.0-3trusty) but it is not going to be installed
          Depends: r-recommended (= 3.2.0-3trusty) 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.

任何人都知道如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

尝试一次安装

 sudo apt-get install r-base r-base-core r-recommended r-base-html

但是从你的描述中不清楚你是如何设法进入这种情况的。这不应该在正常使用情况下发生。