[R] Answer to .Random.seed vs. set.seed
Erin Hodgess
hodgess at uhddx01.dt.uh.edu
Tue Apr 1 21:20:07 CEST 2003
Here is the answer to the .Random.seed vs. set.seed question:
On Tue, 1 Apr 2003, Erin Hodgess wrote:
> Dear R People:
>
> What is the difference betwween
> .Random.seed <<- seed
>
> vs.
> set.seed
>
> please?
1) In the first you have to know a suitable value for `seed', and that's
far from easy, whereas in the second you can supply a number in 1:1024.
2) Setting .Random.seed does not reset the state of the Box-Muller
generator if it is in use.
> Version 1.5.1 for Windows
Time to update ....
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Thanks so much to Prof. Ripley!!!!!
Sincerely,
Erin
More information about the R-help
mailing list