[Rcpp-devel] repeatable random numbers
zhongyi-yuan at uiowa.edu
Thu Sep 1 19:06:53 CEST 2011
I am conducting some numerical studies that I want to be repeatable. In
other words, I want others who run my code to get exactly the same result as
This can be easily done in pure R.
But since I want the random number generation in Cpp, I think I need a seed
that can be retrieved even after re-compilation. Can this done with
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel