How to Uninstall R underMac OS X

When updating R on Mac, we can uninstall the old version and install the new version. Uninstalling R is very easy on Mac.

During installation of R, at least 2 folders are involved.


  1. /Applications/R.app folder: contains GUI

  2. /Library/Frameworks/R.framework folder: contains R framework

  3. (unkown) /usr/bin : contains some links


When uninstalling, R under Mac OS X will delete all of them.

Uninstallation steps as follows:


  1. open terminal in Mac OS X

  2. run rm -rf /Library/Frameworks/R.framework /Applications/R.app \ /usr/bin/R /usr/bin/Rscript


Done!

Reference: http://cran.r-project.org/doc/manuals/r-release/R-admin.html#Uninstalling-under-OS-X

Related posts: