[R] Random-numbers not random
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 21 12:19:18 CET 2006
?.Random.seed says
'.Random.seed' is an integer vector, containing the random number
generator (RNG) *state* for random number generation in R. It can
be saved and restored, but should not be altered by the user.
so just remove it.
The behaviour is intentional.
On Tue, 21 Nov 2006, Mag. Ferri Leberl wrote:
> 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?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list