<br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 6:14 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="im"><br>
</div>Thank you, got both emails!  Will take a closer look -- we were busy with<br>
releasing Rcpp 0.10.0 which will rock :)<br></blockquote><div><br>Sorry, I posted to list from wrong address; 0.10.0 looks great.  I found the copious informational links at the bottom of the announcement very helpful.<br>

<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Would this make sense "upstream" in Armadillo? Or do you want the R RNG for<br>
reproducibility? </blockquote><div><br>I hadn't even thought of trying to push this upstream, but yes, exact reproduction of R's behavior was a  goal.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Also, you may need to add RNGScope() if you use R's RNG.<br>
<br></blockquote><div><br>Yes, I should have mentioned that in my post.  Calling RNGScope() is left to the user, since multiple calls to sample() can conceivably happen inside a single RNGScope().<br></div></div><br>-Christian<br clear="all">

<br>-- <br>A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama!<br>