Message-ID: <24614.59999.899685.800630@rob.eddelbuettel.com>
Date: 2021-02-12T20:51:43Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] Subarchitectures
In-Reply-To: <8c1cd737-2450-67ca-5dd9-a57533871865@stanford.edu>
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.
Dirk
--
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org