Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall r-essentials using conda?

Recently, I installed r-essentials using conda command: conda install -c r r-essentials as it is described in this url: https://anaconda.org/r/r-essentials. However, when I try to run a new R Kernel, ii fails according to this error:

...Anaconda3\R/bin/x64/Rterm.exe' is not recognized as an internal or external command, operable program or batch file.

I want to remove R folder that was created after installation But I cannot find a way to remove that folder.

I tried:

conda uninstall r-essentials

Then:

conda remove R

Last one, according to this answer on reddit: https://www.reddit.com/r/rstats/comments/57zh19/help_removing_anaconda_r_and_using_system_r_with/

Any of those have removed R folder.

Is there an specific command to remove it?

like image 657
Ramiro Tormenta Avatar asked Jan 28 '18 03:01

Ramiro Tormenta


1 Answers

r-essentials is a metapackage, and therefore cannot be uninstalled this way.

Try running conda uninstall r-base to uninstall Anaconda R, and then install R regularly. Then, run which R to make sure that it works. You should now see the path to the system R, instead of the Anaconda R.

I recommend then following the instructions here - this installation worked for me: http://irkernel.github.io/.

like image 179
Oren Dar Avatar answered Sep 21 '22 03:09

Oren Dar