Rstudio and Rtools Path

I just installed RStudio 1.3.1 and Rtools40 on Windows 10. I followed the instructions on the Rtools page, doing

writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")

in R and restarting, but I am still unable to install packages because RStudio thinks I do not have Rtools. When I do devtools::find_rtools() I get TRUE, but if I type Sys.which("make") I get nothing. What am I doing wrong with Rtools and the path?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.