Have you created an object called .Random.seed? The error looks to be triggered by the mgcv startup code calling the RNG via `runif', and the RNG finding something unexpected in .Random.seed. (See ?.Random.seed for more information).
best, Simon On Friday 13 February 2009 16:25, Veerappa Chetty wrote: > Hi ,When I try to load the 'mgcv" package, often, but not always, get this > error message. What am I doing wrong? > __________________ > This is mgcv 1.4-1.1 > Error in runif(1) : > .Random.seed is not an integer vector but of type 'list' > Error : .onAttach failed in 'attachNamespace' > Error: package/namespace load failed for 'mgcv' > ----------------------------------------- > Thanks. > Chetty -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 ______________________________________________ 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.