[R] random number generator

Clayton Brown cbrown at jhsph.edu
Thu Jan 20 00:19:48 CET 2000


This question may not be specific to R, but I'm using R so here goes:

Since R is slow (as is Splus) I want to split a simulation and run it on
2 or 3 systems at once.  The simulations involve generating a large number
of random values.  How can I set .Random.seed so that the succession of
random values don't overlap across systems.

I see that when I invoke R and give command runif(1) a different .Random.seed
is created each time, but how do I know the stream of random values won't
overlap when I invoke R on different machines?

thanks much

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list