Rtools not being detected by R Rtools not being detected by R windows windows

Rtools not being detected by R


Turns out when I installed RTools I left out the R 2.15.x+ toolchain option in the installation, which lead to the gcc never being installed. Hopefully, this post will serve as a diagnostic guide if RStudio fails to register RTools.

Thank you everyone for your help.


The RTools install on Windows doesn't select the C compiler to include by default. I ran the install a few times blindly clicking through and got this error. I reran the installer and selected/included the 32bit and 64bit C compilers. Problem solved.


It may as well be added that if you don't have admin rights on your computer the installation of Rtools will fail due to some missing registry permissions.

Took me quite some time to figure that out because if you install Rtools via R you won't see this alert.

So better download the .exe-file, install it as admin and tick the boxes mentioned above to get Rtools working properly.