RNG

Paul Gilbert pgilbert@bank-banque-canada.ca
Wed, 4 Nov 1998 16:32:26 -0500


On r-help Bill Simpson wrote:

>Marsaglia's multiply-with-carry generator is very easy to implement--he
>has posted some C code to newsgroups--and seems to test out OK. I wonder
>if it would make sense to use one of his generators instead.

I would like a system where the random number generator can be specified
(perhaps in options or a .RandomGenerator variable). Most often everyone wants
to use the best RNG available, but in order to reproduce results and check code
it is important to use the one which was used to produce the original results.

Paul Gilbert


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._