[Rcpp-devel] DataFrame::create() in endless loop
darren at dcook.org
Wed Feb 29 00:39:22 CET 2012
> I used IntegerVector and friends,
> and changed from DataFrame to List.
Do you mean you needed to do both those changes to get it to work? Or
either would have fixed your problem, but you decided to do both "just
>> I had the same problem a while ago and the solution we’ve come up with
>> was to get rid of Rcpp::DataFrame and use Rcpp::XPtr instead.
XPtr is just for passing a handle to a block of bytes back to R, that it
can then pass back to your C++ code at a later stage, isn't it? I.e. not
a solution if you wanted to manipulate the data in R.
(I'm asking here in case I've misunderstood the scope of its purpose.)
Darren Cook, Software Researcher/Developer
http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)
More information about the Rcpp-devel