YKY*_*YKY 6 linux r linux-mint
我在Linux Mint上.我安装了3.0.2版本的R.我需要使用刚刚发布的库,需要R版本3.2.http://www.bioconductor.org/packages/devel/bioc/html/CODEX.html
如何将我的R版本更新为3.2?
我试图添加一些存储库到apt,但不仅它尝试安装R 3.1.2,但安装本身不起作用.
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 3.1.2-1precise0) but 3.0.2-1ubuntu1 is to be installed
Depends: r-recommended (= 3.1.2-1precise0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
然后我尝试从源代码编译3.2,但运行configure会出现以下错误:
configure: error: --with-readline=yes (default) and headers/libs are not available
Run Code Online (Sandbox Code Playgroud)
有人可以建议吗?
我在这里找到了有关如何更新 R 的良好说明:https://askubuntu.com/questions/218708/installing-latest-version-of-r-base
就我而言,运行:
sudo apt-get remove r-base-core
Run Code Online (Sandbox Code Playgroud)
在安装新版本的 R 之前有帮助。但是,这只允许我安装 R 3.1.2,这并不能完全解决我的问题。