[R-pkg-devel] Subarchitectures

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Feb 13 10:58:28 CET 2021


On 12/02/2021 3:51 p.m., Dirk Eddelbuettel wrote:
> 
> On 11 February 2021 at 11:30, Balasubramanian Narasimhan wrote:
> | 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)')
> 
> You can switch to backticks to not depend on bash so this
> 
>     R_ARCH=`"${R_HOME}/bin/Rscript" -e 'cat(.Platform$r_arch)'`
> 
> should work too.

It didn't work for me, but I gave up on that approach pretty quickly so 
I might have made some other error that caused the failure.

Duncan Murdoch



More information about the R-package-devel mailing list