How to uninstall R and re-install Exploratory

When you upgraded the R installed on your machine to a newer version which is not supported by Exploratory Desktop yet, you need to uninstall the R and re-install Exploratory Desktop to fix the R package compatibility issues.This document explains how to do it.

Mac

Uninstall R

Open Terminal App then copy and pate below command and hit Enter key.

$ sudo rm -rf /Library/Frameworks/R.framework \
/Applications/R.app \
/usr/bin/R \
/usr/bin/Rscript \
/usr/local/bin/R

You will be asked to type in admin password like below so type in the admin password then hit enter key.

Restart Exploratory Desktop

Re-start Exploratory Desktop and perform R and R packages installation from the Installation UI.

Windows

Uninstall R

Go to the installation folder of R 4.1. By default, it's installed under Program Files.

Find uninstall.exe or unins000.exe and double click it. Follow the instruction and uninstall i.t

Restart Exploratory Desktop

Re-start Exploratory Desktop and perform R and R packages installation from the Installation UI.