[R] ask help!

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jul 25 12:32:47 CEST 2013


No R version was stated, but this is not the behaviour of R-patched so 
you could update.

On 25/07/2013 11:01, Jim Lemon wrote:
> On 07/25/2013 07:44 PM, mei_yuan wrote:
>> Hi,
>>
>> In the R console, I have the following:
>>
>>> runif(10)
>> Error in runif(10) :
>>    '.Random.seed' is not an integer vector but of type 'list'
>>>
>>
>>
>> Can someone advise me of the solution of the problem?
>>
>>
>>
>> Mei-Yuan Chen
>
> Hi Mei-Yuan,
> .Random.seed should be a vector of numeric values. Somehow this has been
> set to an object of type "list":
>
> .Random.seed<-list(.Random.seed)
> runif(10)
> Error in runif(10) :
>    '.Random.seed' is not an integer vector but of type 'list'
>
> I would suggest quitting R and _not_ saving the session, then restarting
> and trying:
>
> runif(10)
>
> again.
>
> Jim
>
> ______________________________________________
> 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