从 Ubuntu 中删除 anaconda R [英] remove anaconda R from Ubuntu

查看:22
本文介绍了从 Ubuntu 中删除 anaconda R的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 ipython notebook 来运行一些 R 脚本.现在的问题是我的 Ubuntu 14.04 上有两个 R 版本.一个是 /home/MYNAME/anaconda2/bin/RR.3.2.2,另一个是我需要的 R studio,现在的问题是我只想将 R.3.3.1 用于我的系统,因为我需要完成一些高级任务.

I have been using ipython notebook to run some R scripts. Now the problem is I have two R versions on my Ubuntu 14.04. One is R.3.2.2 at /home/MYNAME/anaconda2/bin/R, another one is the R which I need for R studio, now the problem is I want to only use R.3.3.1 for my system as I need some advanced task to be done.

我用的是conda uninstall r,运行这个之后,根据打印出来,很多R相关的包都被删除了,如果我再次运行conda uninstall r,它说

I use conda uninstall r, after running this, according to the print out, a lot of R related packages is removed, if i run conda uninstall r again, it said

Fetching package metadata .......
Using Anaconda Cloud api site https://api.anaconda.org
Solving package specifications: ..........
Error: no packages found to remove from environment: /home/MyName/anaconda2

但是当我再次运行 Which R 时,仍然是 anaconda R,如果我在终端中运行 R,它仍然是 R3.2.2,有谁知道我怎样才能删除这个 anaconda R 版本?

but when I run Which R again, still it is the anaconda R, if I run R in the terminal, it is still R3.2.2, anyone knows how could I remove this anaconda R version?

推荐答案

你可以试试 conda uninstall r-base,这会移除 R 和所有的 R-library.

you can try conda uninstall r-base, this will remove R and all of the R-library.

这篇关于从 Ubuntu 中删除 anaconda R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆