【发布时间】:2016-11-14 19:36:47
【问题描述】:
我正在尝试从该站点之后的终端安装 R: https://www.r-bloggers.com/how-to-install-r-on-linux-ubuntu-16-04-xenial-xerus/
当我执行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.2-1xenial0) but it is not going to be installed
Depends: r-recommended (= 3.3.2-1xenial0) 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.
【问题讨论】:
-
您也可以手动下载。有一个新版本的 R(2017 年 3 月 6 日)。你可以在这里找到它:cloud.r-project.org/bin/linux/ubuntu/yakkety 它工作得很好。