[R] Random-numbers not random

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Nov 21 12:11:57 CET 2006


"Mag. Ferri Leberl" <ferri.leberl at gmx.at> writes:

> Dear everyone!
> Since I saved the workspace-image I get the same row of random-numbers
> everytime I run R. How can I make the random-numbers random again?
> Thank you in advance!

By not saving the seed. (Get rid of .Random.seed, see ?set.seed for
more info.)

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list