search for: check_rtools

Displaying 2 results from an estimated 2 matches for "check_rtools".

2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...| ^~~~~ compilation terminated. I also continued some potential diagnostics with the pkgbuild package. Here is the output: ``` > library(pkgbuild) > rtools_path() [1] "C:\\rtools43/usr/bin" > has_rtools(debug = TRUE) Found in Rtools 4.3 installation folder [1] TRUE > check_rtools(debug = TRUE) Found in Rtools 4.3 installation folder [1] TRUE > has_compiler(debug = TRUE) Trying to compile a simple C file Running "C:/PROGRA~1/R/R-43~1.1/bin/x64/Rcmd.exe" SHLIB foo.c [1] FALSE > check_compiler(debug = TRUE) Trying to compile a simple C file Running "C:/PRO...
2023 Aug 30
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
TL:DR there are at least three maybe four ways to address this depending on what you plan to do. I usually adjust PATH to add Rtools using .Rprofile. But if you do that then if you want to use the command line to invoke R then you need to set the PATH separately when you start the shell. For this reason some people like to set it in the User Environment Variables control panel... but some Rtools