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.
Sure. 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. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | [email protected] _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
