<div dir="ltr">The object really is just built as part of the return statement. i.e. the lines from my prior e-mail exist as-is in the full code, there's just more that actually builds the variables X1-X4 beforehand. So I'm not sure where to debug from the client side. I'm a C/C++ developer, but have no experience with Rcpp internals or the general interface between R and C. I can insert some debug statements on the Rcpp side if you can guide me to where wrap is defined. <br>
<br>What Romain says makes sense to me, despite my lack of expertise in this area.. the really intermittent nature of the problem and the fact that I can't recreate it in a small / fast running example suggests that perhaps this manifests when R happens to garbage collect at an unfortunate time (if I understood correctly). Thanks again.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 10:12 AM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 28 May 2014 at 10:02, John Mous wrote:<br>
| Hmm, unfortunately the GitHub version failed also.<br>
<br>
</div>Darn.<br>
<div class=""><br>
| The attributes on the failed<br>
| object are a little different though, here's what they look like:<br>
|<br>
| Browse[1]> str(results)<br>
|  atomic [1:4] 1 1 2270 0<br>
|  - attr(*, "")= symbol sim<br>
|  - attr(*, "value")= promise to  NULL<br>
<br>
</div>I am not sure what we can do without a reproducible example. :-/<br>
The code just got a review / refreshment over the last few months.<br>
<br>
You best bet may the slow and tedious insertion of debug statements to see<br>
when / if the object changes.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</font></span></blockquote></div><br></div>