Hello all,

Recently I started playing with running R scripts on the Condor system in my
institute.
(For more on this, have a look at:
 Running Long R Jobs with Condor DAG
by Xianhong Xie
link: http://cran.r-project.org/doc/Rnews/Rnews_2005-2.pdf
)

Might someone advice me about the following question:
How should I handle the RNG (random number generation) in the running of
parallel instances of R on different machines.

For example, Let's say I wish to run 10 times a script that generates 100
normal variables and return their mean.
The script itself is easy to write. What I am not sure about is what should
I do with the seed.
Should I let the program choose one for itself ?
Should I set a seed according to some function of the current process ?
Is there an outside source I should get the numbers from?

Thanks,
Tal






----------------------------------------------


My contact information:
Tal Galili
E-mail: tal.gal...@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general, Hebrew)
http://www.biostatistics.co.il (Statistics, Hebrew)
http://www.r-statistics.com/ (Statistics,R, English)

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to