Skip to content

Instantly share code, notes, and snippets.

@tbrittoborges
Created November 7, 2017 13:36
Show Gist options
  • Save tbrittoborges/f3a58425f5f5d5fbab747af5dc364d83 to your computer and use it in GitHub Desktop.
Save tbrittoborges/f3a58425f5f5d5fbab747af5dc364d83 to your computer and use it in GitHub Desktop.
remove_r_installed_by_conda.sh
# run this in you bash command line
# list all r3 packages installed with conda:
conda list | grep r3 | awk '{print $1}')
# remove all pakages r3
for i in $(conda list | grep r3 | awk '{print $1}'); do conda remove -y $i; done
# finally, remove R
conda remove r-essentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment