r-windows / rtools-installer

Builds the rtools40 installer
https://cran.r-project.org/bin/windows/Rtools/
27 stars 2 forks source link

R calling "C:\windows\make" instead of "C:\rtools40\usr\bin\make.exe" #23

Open atrolle opened 2 years ago

atrolle commented 2 years ago

Hi,

I have a problem after installing Rtools 4.0. Actually, I get:

Sys.which("make") make "C:\\windows\\make.exe"

Normally, I should get: "C:\\rtools40\\usr\\bin\\make.exe"

Any idea why it goes wrong?

Here are the properties of my R session:

sessionInfo() R version 4.1.3 (2022-03-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_4.1.3 tools_4.1.3

Thank you in advance for your help, Best, Arnaud.