On Wed, 12 Nov 2008, Piero Visconti wrote:
Hi
I am experiencing a problem with the random number generator. When I call
any function that involve RNG such as "runif" or "sample" I get this error:
.Random.seed is not an integer vector but of type 'double'
I can't coerce the random seed and it's recommended not to alter it anyway.
Can anybody help me?
How did it get to be double? You or some software you are using assigned
it as such. It would be best to track that down, but
rm(.Random.seed)
is the preferred solution.
Thanks and kind regards,
Piero Visconti, PhD candidate
Australian Research Council Centre of Excellence for Coral Reef Studies
James Cook University
Townsville QLD 4811 Australia
Phone +61 7 47816024
[EMAIL PROTECTED]
http://www.coralcoe.org.au/
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, [EMAIL PROTECTED]
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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.