在 Debian 核心程序上升级 R 2.7.1
我的 R 版本是 2.7.1(在 Debian 上),一些软件包要求 > 2.10.我找不到更新说明,我不想删除并重新安装,因为我还有其他依赖于 R 的东西,我不想搞砸。有更新程序吗?
最接近我的问题的是此线程 。
My R version is 2.7.1 (on Debian) and some packages are asking for > 2.10. I cannot find updating instructions and I don't want to remove and reinstall as I have other things depending on R and I don't want to mess up. Is there an update procedure?
Closest thing to my problem is on this thread.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看从源安装的说明。它在 Linux 机器上很容易,您可以在任何您喜欢的目录中进行安装,甚至不需要超级用户权限。编译后,您甚至可以从该目录运行 R,而不会弄乱任何系统安装的 R。只要您提供 R 二进制文件的完整路径,或者将其路径放入 PATH 环境变量中,启动时它就会正常工作。
check out the instructions for installing from source. Its easy on a Linux box, and you can do the install in any directory you like, you dont even need superuser permissions. Once compiled you can even run R from that directory without messing up any system-installed R. As long as you give the full path to R's binary, or put the path to it in your PATH environment variable, when starting it it will work fine.
仅供参考
Debian 上 2.7.1 之前版本的 R 似乎无法更新。
当前核心从 2.7.1 开始运行。唯一的方法是删除现有版本。
由于这不是直截了当的,所以我将其发布在这里。如果您有 Rapache 或其他连接到 R 的东西,请使用 dismode 或相关命令禁用它们。
我也必须这样做,
直到显示不再安装 R 软件包
然后按照 中的说明进行操作http://cran.r-project.org/bin/linux/debian/,修改为您应该在 /etc/apt/sources.list 中使用 deb 而不是 deb-src。
安装之前运行此命令,它不应该显示 2.7.1。
FYI
It seems that R on Debian with versions previous to 2.7.1 cannot be updated.
The current core runs from 2.7.1 up. The only way to do it is to remove the existing version.
As this was not straight forward I post it here. If you have Rapache or other things connecting to R disable them with dismode or related.
I had to do this as well
until this shows no more installed R packages
Then follow the instruction from http://cran.r-project.org/bin/linux/debian/, with the amendment that you should use deb instead of deb-src in /etc/apt/sources.list.
Before installing run this and it should not say 2.7.1.