Very cool that you guys used my example in your Google Tech Talk. Thanks for the continued hard work on Rcpp!
-Whit 2010/10/9 Dirk Eddelbuettel <e...@debian.org>: > > On 8 October 2010 at 23:26, Whit Armstrong wrote: > | Thanks again, Dirk. > | > | full example (sorry for the verbose post): > > Thanks for posting the full example! > > Let us know how you find it and how it helps you with CppBugs. > > Just briefly: > > | mat X(REAL(XR),100,2); > | mat y(REAL(yr),100,1); > > Personally, I like to avoid all UPPERCASE macros but that looks like an > almost reasonable shortcut as you're going straight to Armadillo. > > Also in > > | fun <- cxxfunction(signature(XR="numeric", yr="numeric"), body=src, > | include=inc, plugin="Rcpp") > > I would suggest trying plugin="RcppArmadillo" so that you get the Rcpp > to/from Armadillo data type wrapping etc. There have been a few > RcppArmadillo examples posted on the list in response to other questions. > > Cheers, 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