From pgilbert@bank-banque-canada.ca  Wed Feb 23 20:49:50 2000
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 23 Feb 2000 15:49:50 -0500
Subject: [Rd] RNG usability
References: <Pine.GSO.4.05.10002232010230.4305-100000@auk.stats>
Message-ID: <38B447EE.704A311@bank-banque-canada.ca>

>It does not
>necessarily save the state of other generators, and in particular
>does not save the state of the Box-Muller normal generator.

I thought Box-Muller just transformations uniform numbers? Does its
state just refer to whether an even or odd number of numbers have been
produced, and in the later case keep the last one for using the next
time?

>If you want to reproduce work later, call `set.seed' rather than set
`.Random.seed'.

But then I'm back to the original problem (which fortunately does not
seem to be a problem for the uniform generator): Using B-M for rnorm I
can't query the state at any given time and then reliably reset to that
state?

Paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] RNG usability
Paul Gilbert