Skip to content
Prev 3529 / 10988 Next

[Rcpp-devel] DataFrame::create() in endless loop

On Tue, Feb 28, 2012 at 10:16 AM, Steffen Neumann <sneumann at ipb-halle.de> wrote:
It's a memory problem from R.  It is trying to do garbage collection
(RunGenCollector) and getting hung up, probably because of exhausting
one of the stacks in R.  Your std::vector<int> objects need to be
copied to R objects.  Is it possible to define them as IntegerVector's
instead, in which case the Create method will (I think) just move some
pointers around.