How To: Verify Rstudio is Using User Installed Rtools

Summary

Verify Rstudio is using Rtools that was installed in user profile.

Body

Question

How do I verify that Rstudio is using Rtools installed in my user profile?

 

Answer

1. Using RStudio > Console pane, enter 'Sys.which("make.exe") ' at the prompt. 

The resulting path string shows the location of your Rtools installation. Confirm it resides in your user profile and is writable so it can be used without administrative privileges.

Example for Rtools 4.5 under user TrumanT: "C:\\Users\\trumant\\rtools45\\usr\\bin\\make.exe"

Rstudio console displaying make.exe location in user profile

 

2. (Optional: test Rtools linking using devtools package) 

     a. If not installed, install devtools in RStudio > Console:

          > install. Packages("devtools")

 Rstudio console with install.packages("devtools")

     b. Test devtools installation in RStudio > Console:

          > devtools::find_rtools()

Rstudio console with devtools::find_rtools() result equal TRUE

 

Note: For more information on installing packages, please refer to How-To: RStudio: Installing Packages.

Details

Details

Article ID: 2153
Created
Mon 3/2/26 8:36 AM
Modified
Wed 6/24/26 2:18 PM

Related Articles

Related Articles (4)

Link Rtools to Rstudio by inserting Rtools path in .Renviron file.
Installing Rtools in user environment without admin privileges.
A step-by-step guide for installing packages into an existing project in RStudio.
Index of R/RStudio guides