yes, unless I add #include <armadillo>
Then it blows up. The problem is in my real function I include a header, which includes armadillo. So, unless I go deleting all the refs to #include <armadillo>, I think it will continue to blow up... (with the current released version). Anyway, I'll just wait for the next release. Thanks, Whit On Tue, Jan 24, 2012 at 4:23 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > Slow down. You are rushing things a little: > > a) we _do_ want the Arma plugin, it does more than just one setting > > b) once we have it, Arma works fine: > > require(inline) > cppbugs.plugin <- getPlugin("RcppArmadillo") ## Arma!! > cppbugs.plugin$env$PKG_CXXFLAGS <- "-std=c++0x" > foo.bar <- cxxfunction(signature(hat="numeric"), body=' > arma::colvec v(2); > return Rcpp::wrap(v); > ', settings=cppbugs.plugin, verbose=TRUE) > > > Dirk > > -- > "Outside of a dog, a book is a man's best friend. Inside of a dog, it is too > dark to read." -- Groucho Marx _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel