Install multiple versions of Rtools
THanks! Is it possible to make it work for both architectures? So that some R utils like `R CMD check` automatically find both, in the same run, like on the CRAN windows machines? There is a BINPREF64 env var as well, but seemingly that is not picked up, and BINPREF is used for both 32bit and 64bit. I only way I could make it work was editing the Makeconf files, or at least the one for 64bit, and set BINPREF there. Gabor
On Sun, Oct 2, 2016 at 1:29 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
You can do the following: 1) Add the Rtools bin directory (e.g. C:\Rtools33\bin) to the PATH (so it can find make, etc.) 2) Define BINPREF environment variables as seen here: https://github.com/RcppCore/Rcpp/blob/master/R/Attributes.R#L766-L767 Note that creating a valid path to the root Rtools directory is a bit finicky so we have this helper function: https://github.com/RcppCore/Rcpp/blob/master/R/Attributes.R#L780-L790. Here's a C++ version of the same function that we use in RStudio: https://github.com/rstudio/rstudio/blob/db703b6aff4f4136532e99bb1f2c081fe77f5601/src/cpp/core/r_util/RToolsInfo.cpp#L39-L46 On Sat, Oct 1, 2016 at 8:06 PM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
Hi All, I would like to have both rtools 3.3 and 3.4 on the same machine, one in c:\rtools33, the other in c:\rtools34. I managed to do it via modifying the RHOME/etc/ARCH/Makeconf files. Is there a better way, by simply setting environment variables? Thanks much! Gabor
_______________________________________________ R-SIG-windows mailing list R-SIG-windows at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-windows