Hello everyone,

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
I get.
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
RNGScope?

Thanks for your help.

Best,
Zhongyi
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to