Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在Ubuntu 18.04 linux上安装最新的R版本_R_Linux_Installation_Ubuntu 18.04 - Fatal编程技术网

无法在Ubuntu 18.04 linux上安装最新的R版本

无法在Ubuntu 18.04 linux上安装最新的R版本,r,linux,installation,ubuntu-18.04,R,Linux,Installation,Ubuntu 18.04,我希望能够为Ubuntu 18.04安装最新的稳定R版本,我已经安装了Ubuntu版本,所以我删除了它,然后遵循了一些指南,如link 无论我做什么,当我发布sudo apt get install r-base时,我都会得到以下输出: sudo apt install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packag

我希望能够为Ubuntu 18.04安装最新的稳定R版本,我已经安装了Ubuntu版本,所以我删除了它,然后遵循了一些指南,如link

无论我做什么,当我发布
sudo apt get install r-base
时,我都会得到以下输出:

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-base-core (>= 3.6.1-3disco) but it is not going to be installed
          Depends: r-recommended (= 3.6.1-3disco) 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.

出了什么问题?

这里可能有很多问题,包括:您配置了哪些PPA;您是否在添加任何新PPA后进行了apt更新;以前的软件包是否未完成安装/配置;而且可能更多。不过,我想你可能会得到更好的回答,因为这个问题完全是关于PPAs和外部软件包的安装,而不是R本身。好吧,这是有道理的——我在askubuntu.com上发布了同样的问题