[Rcpp-devel] define RINSIDE_CALLBACKS in install.packages

Dirk Eddelbuettel edd at debian.org
Mon Jul 7 21:10:19 CEST 2014

On 7 July 2014 at 14:49, Mark Lilback wrote:
| Is there any way to install RInside using install.packages that will pass a -DRINSIDE_CALLBACKS flag to the preprocessor?
| The callback code works perfectly for my application, but I’d like an easy way to install it on other machines.


R CMD ... eventually calls make, and make honours environment variables.
Another even more explicit way is to set CFLAGS in ~/.R/Makevars -- and using
that file has gotten mention here a couple of times.


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list