我很高兴听到 R 开发人员最终通过他们的 CRAN 镜像发布了 R 3.5 并决定立即安装它。我添加了 CRAN 网站中提到的必要 PPA,deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu bionic-cran35/
但在运行命令后sudo apt-get update
,我发现了以下警告。
expected bionic-cran35/ but got bionic
此处附上屏幕截图,以进一步清晰。 R_Bionic_installation_error
我太乐观了,继续下一个代码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 …
Run Code Online (Sandbox Code Playgroud)