On 4 June 2012 at 18:48, Steve Lianoglou wrote: | On Mon, Jun 4, 2012 at 6:02 PM, Dirk Eddelbuettel <[email protected]> wrote: | > | > On 4 June 2012 at 17:28, Pratibha Rana wrote: | [snip] | | > | The value of res was printed at line 159 in Vector__create.h . Using Wrap() | > | makes it worse. I really need help. I have been trying to do this for 2 days | > | now. | | > What about the working example I just to the list? | > | > What about the following adapted from the unit test file for dataframes: | | Or, if you're really in dire straits and assuming you've got the list | you want to convert to a data.frame built already: you can just pass | it back to R and convert it w/ `as.data.frame`.
Good advice, I had meant to say that too -- this is exactly what I used to do before we added the DataFrame class to Rcpp. Dirk -- Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
