<div dir="ltr">Thank you, Bill and Dirk, for the suggestions and insight. Much appreciated.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 2, 2016 at 12:03 PM, 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"><br>
For the particular case of 'not finite' on floats I also found that I could<br>
resort to the standard NaN which IEEE arithmetic supports.  Of course, this<br>
will then be a NaN in R and not a NA where you might want the latter.  But at<br>
least it stays cleanly away from R which may help in the multithreaded<br>
contexts.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
</font></span></blockquote></div><br></div>