[R] ask help!
Jim Lemon
jim at bitwrit.com.au
Thu Jul 25 12:01:50 CEST 2013
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
More information about the R-help
mailing list