Skip to content
Back to formatted view

Raw Message

Message-ID: <7f7831c5-f08e-afe1-a537-126d00eecbbc@gmail.com>
Date: 2021-02-09T16:30:47Z
From: Serguei Sokol
Subject: [R-pkg-devel] Fwd:  Subarchitectures
In-Reply-To: <818474db-bac5-288e-7950-c937bc79b245@insa-toulouse.fr>

Le 09/02/2021 ? 17:01, Duncan Murdoch a ?crit?:
> 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.
>
> Is there a standard way to get a value in Makevars which will match 
> .Platform$r_arch once R is running?

If sub-shell is possible, will it be convenient?

 ? myvar=`R --slave --vanilla -e 'cat(.Platform$r_arch)'`

Best,
Serguei.

>
> Duncan Murdoch
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



	[[alternative HTML version deleted]]