Re: [Rd] set.seed and /dev/random

2009-05-03 Thread Thomas Lumley
On Sat, 2 May 2009, Saptarshi Guha wrote: Hello, In ?set.seed I notice that a seed is created from the system time. Thus if two machines were (hypothetically) running for the same time and R was started simultaneously on both, the would have the same seeds (correct?). Yes. This could in princi

Re: [Rd] set.seed and /dev/random

2009-05-03 Thread Saptarshi Guha
Interesting stuff. Thank you Saptarshi On Sat, May 2, 2009 at 7:21 PM, Dirk Eddelbuettel wrote: > > On 2 May 2009 at 18:53, Saptarshi Guha wrote: > | Hello, > | In ?set.seed I notice that a seed is created from the system time. > | Thus if two machines were (hypothetically) running for the sam

Re: [Rd] set.seed and /dev/random

2009-05-02 Thread Dirk Eddelbuettel
On 2 May 2009 at 18:53, Saptarshi Guha wrote: | Hello, | In ?set.seed I notice that a seed is created from the system time. | Thus if two machines were (hypothetically) running for the same time | and R was started simultaneously on both, the would have the same | seeds (correct?). | | I assume r

[Rd] set.seed and /dev/random

2009-05-02 Thread Saptarshi Guha
Hello, In ?set.seed I notice that a seed is created from the system time. Thus if two machines were (hypothetically) running for the same time and R was started simultaneously on both, the would have the same seeds (correct?). I assume reading from /dev/random would be different for both of these