[R] set random numbers seed for different cpu's
fantomas
tomas.iesmantas at gmail.com
Thu Nov 17 15:30:29 CET 2011
Hi
I'm running the same R script (throuth linux shell) of several cpu's. This
R program uses random numbers and the result should be different every time.
But if put jobs (through Torque) for several cpu's I get the same result. As
a resealt my program saves numbers in file with randomly generated names.
works like a charm on one cpu, but I get the same result from different
cpu's.
So my question is, how can I resolve this? How to set pseudo random number
seed so that different cpu's would produce different results?
Thank you in advance.
--
View this message in context: http://r.789695.n4.nabble.com/set-random-numbers-seed-for-different-cpu-s-tp4080165p4080165.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list