Re: [R] .Random.seed is double

From: Piero Visconti <piero.visconti_at_jcu.edu.au>
Date: Wed, 12 Nov 2008 18:36:41 +1000

Hi,
Thanks for the help. That worked fine. I never set the random seed myself so it must have been another program.

The only other programming language I am using is MATLAB. I don't know if that could be it.

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/

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley_at_stats.ox.ac.uk] Sent: Wednesday, November 12, 2008 5:48 PM To: Piero Visconti
Cc: r-help_at_r-project.org
Subject: Re: [R] .Random.seed is double

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

______________________________________________
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.
Received on Wed 12 Nov 2008 - 08:39:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 09:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive