[Rcpp-devel] "Error during wrapup"

2014-05-27 Thread John Mous
Hello, I am passing back a very simple std::map from Rcpp as follows: std::map result; result["X1"] = X1; result["X2"] = X2; result["X3"] = X3; result["X4"] = X4; return wrap(result); The keys are hardcoded as shown, and the values X1-X4 are ints. Almost always everything works fine, however, ve

Re: [Rcpp-devel] "Error during wrapup"

2014-05-27 Thread Kevin Ushey
Hi John, I think we may have tackled this in some of the latest fixes with the version of Rcpp on GitHub. Can you try installing that version and trying again? Ie, try install.packages(devtools); devtools::install_github("RcppCore/Rcpp") then try running your code again. Alternatively, plea

Re: [Rcpp-devel] "Error during wrapup"

2014-05-27 Thread John Mous
Hi Kevin, Thanks. I will give the GitHub version a try -- the error usually manifests only after running for about a day or so, so it may take a while to do that. Unfortunately I am having trouble creating a small reproducible example -- a function with just the assignments as written in my previo