Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

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

@atrolle

Description

@atrolle

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"

Yet, I've added Rtools to PATH:

Sys.getenv("PATH")
[1] "C:\\rtools40\\usr\\bin;C:\\R\\bin\\x64;C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Oracle\\client\\useradmin\\product\\12.2.0\\client_1;C:\\Oracle\\client\\useradmin\\product\\12.2.0\\client_1\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\;C:\\windows\\System32\\OpenSSH\;C:\\Program Files (x86)\\Quest\\KACE;C:\\Program Files\\MiKTeX\\miktex\\bin\\x64\;C:\\Program Files\\Dell\\cctk;C:\\Users\\atrolle\\AppData\\Local\\Microsoft\\WindowsApps;C:/Program Files/RStudio/bin/quarto/bin"

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions