[R] .Random.seed is double

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Nov 12 08:47:44 CET 2008


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
> piero.visconti at jcu.edu.au
> http://www.coralcoe.org.au/
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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,                  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