On Wed, Feb 16, 2011 at 7:59 PM, <ken.willi...@thomsonreuters.com> wrote: > > >> R.e. S4 -- a good place to start is here: >> http://www.r-bloggers.com/resources-for-s4-classes-and-methods/ > > Thanks, though in this case I'm looking for reference docs on Rcpp::S4, not > S4 classes within R.
For some usage examples (most of which you probably won't need!), see pkg/Rcpp/inst/unitTests/runit.S4.R Just for reference, the Rcpp-modules vignette addresses some of this, including examples of (STL) .begin() and .end(): http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-modules.pdf "Is the Rcpp:::Rcpp.plugin.maker() function documented anywhere?" From Romain: " Rcpp.plugin.maker is a sort of undocumented function we use for packages we write, just to avoid copy and paste. See how packages RcppArmadillo and RcppGSL use it. " hth, Christian -- A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama! _______________________________________________ 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