R is a programming language for statistical computing and graphics. This statistical programming language created by statisticians Ross Ihaka and Robert Gentleman is used by statisticians and data miners to analyze data and construct statistical applications and some users have written packages to extend the capabilities of the R programming language.

R is a powerful and entertaining language, but not suitable for beginners. Though R is one of the widely used languages for statistical modeling and analysis, it has its own set of advantages and disadvantages that might make you want to uninstall R for Mac and change to another programming language.

Some Mac users find it difficult to delete R. How to remove the apps that won't delete? You can choose from the following simple ways that we offer you to completely remove R from Mac.

Article GuidePart 1. How Do I Uninstall R for Mac Using Terminal?Part 2. Manual Way to Remove R from your MacPart 3. The Quickest Way to Uninstall R for Mac

Part 1. How Do I Uninstall R for Mac Using Terminal?

R may be useful at every stage of data analysis, from acquiring and cleaning data to analyzing and presenting the results but R has a steep learning curve. It has weak documentation, which makes it difficult to use for a larger audience and it also lacks a consistent syntax, due to being written by statisticians. You typically have to do a lot of googling to find what you're looking for.

Using your Terminal, you can update, switch, delete specific R versions or just completely uninstall R for Mac with some scripts.

Uninstall R for Mac

Here're the steps on how to uninstall R for Mac using Terminal:

  1. If you want to upgrade your old version of R, uninstalling it first before reinstalling its newer version is much more recommended. Type these scripts on your Terminal to remove them fully on your Mac:
  • rm -rf /Applications/R.app
  • sudo rm -rf /Library/Frameworks/R.framework
  • sudo rm /usr/bin/{R,Rscript}

It's worth noting that user-installed packages from the previous version will be lost and will need to be reloaded in the new one.

  1. If you want to permanently uninstall R for Mac without upgrading to a newer version, run the following script in your Terminal:
  • sudo rm -rf /Library/Frameworks/R.framework

Next, remove R.app which can be usually found in the Application folder. Try searching for it at another location if it's not if you can’t see it there. Run these scripts if you installed extra tools (GCC 4.0.3) for your R language to remove them:

  • sudo rm -rf /usr/local/gcc4.0
  1. If you only want to delete a specific version of the R language and don't want to do anything else, look into:
  • /Library/Frameworks/R.framework/Versions

Select the version you want to delete. Use R Switch to switch to a different R version or adjust the "Current" soft link.

Part 2. Manual Way to Remove R from your Mac

R, like every other mac app, make use of service and support files to run properly which are kept on different locations on your hard drive.

We'll teach you how to manually uninstall R for Mac, as well as find all its associated folders and files hiding on your Mac.

  1. First, Quit the R. You can’t delete apps if it’s still running or open in the background.
  2. After that, we can proceed to delete R. Drag-and-Drop is the most common method of removing programs in Apple macOS computers. Open up your Finder and then the Applications folder, move R's icon into the Trash. You may also move the R to the Trash by pressing Cmd + Del.

Manually Uninstall R for Mac

We can say that R is no longer on your Mac, but its related files remain on your Mac. R's caches, logs, and other sorts of service files can be found in the user's Library folder. These directories are often hidden from the users to avoid accidentally deleting any important files.

  1. Open up Finder >> Go to the Menu Bar and select the “Go” menu, and click “Go to Folder…”
  2. Type the path ~/Library search for any files or folders with the program’s name on it and delete them
  3. Look through these folders for any R traces and delete them to completely uninstall R for Mac:
    • ~/Library/Logs
    • ~/Library/Caches
    • ~/Library/Preferences
    • ~/Library/Application Support
    • ~/Library/LaunchAgents
    • ~/Library/LaunchDaemons
    • ~/Library/PreferencePanes
    • ~/Library/StartupItems
  4. You can now finally empty the Trash. Right-click the icon and select "Empty". Make sure to restore the files you don't want to delete permanently.

Part 3. The Quickest Way to Uninstall R for Mac

Now that we've gotten through the Terminal and manual method, let's move on to a more practical and easy one.

You can automatically uninstall R on Mac to bypass using the Terminal or search manually for files and folders, with the use of a third-party uninstaller.

iMyMac PowerMyMac, a powerful and simple app that can help you remove any apps and all their related files with only just a few clicks.

Get PowerMyMac Free TrialGet A Free Trial Now!

It usually takes a long time to find and delete files manually, and it may not be able to delete them successfully, or even cause Mac system problems if important files are accidentally deleted. Therefore, it's better to use a professional and powerful Mac Cleaner, such as PowerMyMac, to help you uninstall R for Mac completely.

Scan and Remove R on Mac

PowerMyMac makes it easy to clean and optimize your Mac, and in addition to powerfully uninstalling software like Photoshop and Office, it can delete a lot of junk files, scan duplicate files, and large or old files to free up more disk space and make your Mac run faster.

To completely uninstall R for Mac using PowerMyMac:

  1. Open up PowerMyMac. Press the Scan button and the app will start to scan for all apps that were installed on your Mac.
  2. When the scanning process is complete, a list of all programs will show on the left side of the Uninstall screen. Find your undesirable app R for Mac in the list, or put its name into the Search box in the top right corner to find it fast.
  3. When you select an app from the list, the files associated with it will show on the right side. Simply choose the undesired programs and hit the Clean button; the apps, as well as their associated data, will be deleted.

Completely Uninstall R for Mac Using PowerMyMac


There are multi ways to uninstall R on Mac. You can use the Terminal and run some scripts, manually search and delete files, or just automatically remove all of it with just a few clicks!

Get PowerMyMac Free TrialGet A Free Trial Now!

Using Terminal might be bad if you don't fully know how to use it and it's quite easy to mistakenly delete important files on your Mac if you're doing it manually. From the looks of it, it is quicker and safer to use PowerMyMac. Visit the iMyMac website and experience how easy is it to uninstall R for Mac.