[R-pkg-devel] Fwd: Subarchitectures
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