[Rcpp-devel] RcppArmadillo questions

Dirk Eddelbuettel edd at debian.org
Thu Jun 10 20:00:11 CEST 2010


On 10 June 2010 at 10:35, Vinh Nguyen wrote:
| Thanks Dirk.  I've been using the package skeleton method, and added
| PKG_CXXFLAGS = $(shell $(R_HOME)/bin/Rscript -e "Rcpp:::CxxFlags()" )
| $(shell Rscript -e "cat( '-I',
|  system.file('include', package = 'RcppArmadillo'), sep = '' )" )
| 
| into the Makevars file per Romain's suggestion.
| RcppArmadillo:::CxxFlags() is going to help.
| 
| Maybe I'm not seeing this, but will you guys implement the above into
| Rcpp.package.skeleton()?  I don't think it is currently implemented
| (correct me if I'm wrong).  Once that's available developing/debugging
| code the R CMD SHLIB is quite easy once the Makevars file is
| generated.

I do not understand your question.  Can you try to restate it more carefully?



More information about the Rcpp-devel mailing list