[R-pkg-devel] Subarchitectures

Balasubramanian Narasimhan n@r@@ @end|ng |rom @t@n|ord@edu
Thu Feb 11 20:30:56 CET 2021


If GNU make is acceptable as a system requirement, you can get any R 
configuration/runtime variable in Makevars, e.g.

R_ARCH=$(shell $(R_HOME)/bin/Rscript -e 'cat(.Platform$r_arch)')

-Naras

On 2/9/21 9:45 AM, Duncan Murdoch wrote:
> On 09/02/2021 11:01 a.m., Duncan Murdoch wrote:
>> I think the WRE manual says that an R_ARCH environment variable will be
>> set when subarchitectures are involved, but environment variables aren't
>> accessible in Makevars.
>
> Actually, I probably misread the section about environment variables.
>
> Duncan
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list