Here are 2 links that contain examples of lists being used: http://dirk.eddelbuettel.com/code/rcpp.armadillo.html http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-quickref.pdf
Z On Fri, Sep 2, 2011 at 5:35 PM, Noah Silverman <noahsilver...@ucla.edu>wrote: > Sorry to ask something so simple, but could you point me to an example? > > > Thanks! > > -- > Noah Silverman > UCLA Department of Statistics > 8117 Math Sciences Building #8208 > Los Angeles, CA 90095 > > On Sep 2, 2011, at 2:33 PM, Hadley Wickham wrote: > > Return a list of matrices? > > Hadley > > On Fri, Sep 2, 2011 at 4:30 PM, Noah Silverman <noahsilver...@ucla.edu> > wrote: > > Hi, > > I'm starting to use Rcpp (through rinside). > > I want to create several Rcpp::NumericMatrix in my C++ code and then return > > them all. > > Is this possible? > > -- > > Noah Silverman > > UCLA Department of Statistics > > 8117 Math Sciences Building #8208 > > Los Angeles, CA 90095 > > > _______________________________________________ > > 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 > > > > > > > -- > Assistant Professor / Dobelman Family Junior Chair > Department of Statistics / Rice University > http://had.co.nz/ > > > > _______________________________________________ > 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 > >
_______________________________________________ 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