Skip to content
Prev 8788 / 10988 Next

[Rcpp-devel] mixing R's and C++'s RNGs and distributions

Dear Matt,
On Fri, 19-06-2015, at 00:13, Matt D. <matdzb at gmail.com> wrote:
Thanks a lot! Yes, certainly interesting, a lot. I felt embarrassed by my
way of seeding the PRNG from R.

I had seen randutils.hpp mentioned before, but had never payed any
attention. After your links below (and thanks for the archive URLs ---last
night those were the only ones I could access) I think I'll be
incorporating it into my work. Not only because of the seeding, but also
because of the additional facilities (choose, pick, etc).
Yes, they were. Thanks!
I wasn't aware of this.
Yes; I figured that if what I understood were similar approaches (mixing
R's and C++s' PRNG and seeding from R) worked in more complex scenarios,
they should work on mine.
Nice; I'll remember this for if/when I need them in a parallel computing
context.



Thanks,


R.