How to uninstall r-essentials using conda?

19,686

Solution 1

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/.

Solution 2

to remove r packages, run the conda prompt as an administrator. then execute this command conda remove r-*

Solution 3

conda uninstall r-base >> jupyter notebook has something file and button

I think you can try $conda list | grep r // see r package files

$conda uninstall r-* // delete all r package

Share:
19,686
Ramiro Tormenta
Author by

Ramiro Tormenta

Updated on June 16, 2022

Comments

  • Ramiro Tormenta
    Ramiro Tormenta almost 2 years

    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?