R_MAKEVARS_SITE for multiple archs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

R_MAKEVARS_SITE for multiple archs

Gábor Csárdi
Dear all,

is there a way to set R_MAKEVARS_SITE (or something else), so that R
finds Makevars.site for multiple archs?

AFAICT the only option is to put the arch directories in R.home(). But
I might be missing something.

My goal is to set different make variables for 32-bit and 64-bit R on
Windows, without modifying R.home().

Thank you,
Gabor

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: R_MAKEVARS_SITE for multiple archs

Gábor Csárdi
I guess the user level makevars is just as good, from the admin manual:

> The R system and package-specific compilation flags can be overridden or added to by setting the appropriate Make variables in the personal file HOME/.R/Makevars-R_PLATFORM (but HOME/.R/Makevars.win or HOME/.R/Makevars.win64 on Windows), or if that does not exist, HOME/.R/Makevars,

This should do.

Gabor

On Wed, Jan 30, 2019 at 1:34 PM Gábor Csárdi <[hidden email]> wrote:

>
> Dear all,
>
> is there a way to set R_MAKEVARS_SITE (or something else), so that R
> finds Makevars.site for multiple archs?
>
> AFAICT the only option is to put the arch directories in R.home(). But
> I might be missing something.
>
> My goal is to set different make variables for 32-bit and 64-bit R on
> Windows, without modifying R.home().
>
> Thank you,
> Gabor

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel