[R] ask help!

Jim Lemon
2013-07-25T10:01:50Z

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