Skip to content
Back to formatted view

Raw Message

Message-ID: <8c1cd737-2450-67ca-5dd9-a57533871865@stanford.edu>
Date: 2021-02-11T19:30:56Z
From: Balasubramanian Narasimhan
Subject: [R-pkg-devel] Subarchitectures
In-Reply-To: <a31e4609-3266-1c12-b17e-74347c6be002@gmail.com>

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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel