Hi John, Thanks for posting here.
On 26 June 2013 at 11:11, John Swan wrote: | Hi, | | I just purchased Dirk's book on Seamless Rcpp and I'm finding it very useful. | | However, I'm having a strange error running RcppArmadillo inline, where the | book examples seem to manage it effortlessly. Romain already gave you very detailed feedback regarding your code, which showed a number of small (but significant) errors. I also don't think you code came from the Rcpp book. Maybe you could just start from the examples in the RcppArmadillo package, as eg fastLm.r (two working uses of cxxfunction()) or varSimulation.r or the kalman example? These are in fact discussed in the book too... Otherwise a number of examples are at the Rcpp Gallery (http://gallery.rcpp.org) tagged for Armadillo: http://gallery.rcpp.org/tags/armadillo/ Any of these should help you start from a working example, and go from there. Hope this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ 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