完全卸载r linux [英] completely uninstall r linux
问题描述
我正在尝试在Linux Mint上更新我的R版本,但是损坏的依赖项阻止了我这样做.在尝试了诸如从Cran添加回购,sudo apt-get update之类的所有操作之后,我仍然无法安装R的最新版本.
I am trying to update my version of R on linux mint, however broken dependencies are stopping me doing this. after trying everything such as adding repos from Cran, sudo apt-get update, I still cannot install the latest version of R.
我的问题是我如何从计算机上完全删除R,以便重新启动.我已经尝试过了:
MY question is how to i completely remove R from my machine, so that I can restart. I have tried :
sudo apt-get remove r-base
但是当我运行R时它仍然有效:
however when I run R it still works:
laptop$ R
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
并且似乎根本没有被删除.
and doesn;t seem to be removed at all.
我想要全新安装,但我认为我没有正确删除R
I want a clean, fresh install, but I don't think I am removing R properly
推荐答案
R二进制文件(很好的前端脚本)是包含核心R系统的r-base-core
软件包的一部分.
The R binary (well, front-end script) is part of the r-base-core
package which contains the core R system.
软件包r-base
是所谓的虚拟软件包,用于将其他软件包拉入.删除它不会删除R系统的任何部分---您需要删除r-base-core
.
The package r-base
is a so-called virtual package which exists to just pulls other packages in. Removing it does not remove any parts of the R system --- for which you need to remove r-base-core
.
这篇关于完全卸载r linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!