Re: [Rcpp-devel] Accumulating results in an Rcpp::List

2010-06-19 Thread Romain Francois
Le 20/06/10 03:32, Douglas Bates a écrit : I want to return a named list of results from a call using Rcpp but the components of the list are accumulated in stages. At the C++ level i have a templated class that contains several data members that are themselves instances of classes. What I hav

Re: [Rcpp-devel] Accumulating results in an Rcpp::List

2010-06-19 Thread Dirk Eddelbuettel
On 19 June 2010 at 20:32, Douglas Bates wrote: | I want to return a named list of results from a call using Rcpp but | the components of the list are accumulated in stages. At the C++ | level i have a templated class that contains several data members that | are themselves instances of classes. |

[Rcpp-devel] Accumulating results in an Rcpp::List

2010-06-19 Thread Douglas Bates
I want to return a named list of results from a call using Rcpp but the components of the list are accumulated in stages. At the C++ level i have a templated class that contains several data members that are themselves instances of classes. What I have been doing is defining methods for each of t