Installed R is not detected by Exploratory on Windows

We have seen cases where Exploratory starts failing to recognize installed R, and displays the installation screen intended to install R. And even after reinstalling R with the installation screen, it still displays a dialog that tells that installation of R was not successful. This sometimes starts after trying to install Anaconda.

If you are in this situation, check if your Command Prompt works fine. Try starting Command Prompt, and if it flashes briefly and closes immediately, that is the reason Exploratory can’t find R, because Exploratory detects R through Command Prompt.

To fix it, open PowerShell, and issue the following command on it.

Reg Delete "HKCU\Software\Microsoft\Command Processor" /v AutoRun /f

If it works, Command Prompt should be able to start without immediately closing, and Exploratory should stop requiring R to be installed.

Reference: