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@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.

Reply via email to