[Rcpp-devel] trouble creating a dataframe

Steve Lianoglou mailinglist.honeypot at gmail.com
Tue Jun 5 00:48:12 CEST 2012

On Mon, Jun 4, 2012 at 6:02 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
> On 4 June 2012 at 17:28, Pratibha Rana wrote:

> | 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`.

This will allow you to move on w/ getting the rest of the things you
need to work done and you can revisit this later when you're out of
the woods.


Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

More information about the Rcpp-devel mailing list