[R-pkg-devel] Subarchitectures

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Feb 12 21:51:43 CET 2021

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.


https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-package-devel mailing list