[R-SIG-Win] Install multiple versions of Rtools
Gábor Csárdi
csardi.gabor at gmail.com
Sun Oct 2 13:19:25 CEST 2016
Got it, thanks much! I missed the important detail that $win expands only
later. Perfect.
Gabor
On 2 Oct 2016 11:54 am, "JJ Allaire" <jj.allaire at gmail.com> wrote:
> The $(WIN) within the BINPREF is automatically expanded to the correct
> architecture. This is definitely possible as we have it working currently
> in Rcpp, devtools, and RStudio.
>
>
> On Sat, Oct 1, 2016 at 8:29 PM, 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/R
>> cppCore/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/rs
>> tudio/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
>>>
>>
>>
>
[[alternative HTML version deleted]]
More information about the R-SIG-windows
mailing list