Hola! I am sending this to the list since emails from me to Simon Wood has bounced earlier. I get:> library(tsDyn)Loading required package: mgcv Erro en `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package 'mgcv' could not be loaded> library(mgcv)Erro en `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package/namespace load failed for 'mgcv' But in the package check summary on CRAN mgcv gets OK.> sessionInfo()R version 2.4.0 alpha (2006-09-16 r39365) i386-pc-mingw32 locale: LC_COLLATE=Spanish_Bolivia.1252;LC_CTYPE=Spanish_Bolivia.1252;LC_MONETARY=Spanish_Bolivia.1252;LC_NUMERIC=C;LC_TIME=Spanish_Bolivia.1252 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" Kjetil B Halvorsen [[alternative HTML version deleted]]
"Kjetil Halvorsen" <kjetilbrinchmannhalvorsen at gmail.com> writes:> Hola! > > I am sending this to the list since emails from me to Simon Wood > has bounced earlier. > > I get: > > > library(tsDyn) > Loading required package: mgcv > Erro en `parent.env<-`(`*tmp*`, value = NULL) : > use of NULL environment is defunct > Error: package 'mgcv' could not be loaded > > library(mgcv) > Erro en `parent.env<-`(`*tmp*`, value = NULL) : > use of NULL environment is defunct > Error: package/namespace load failed for 'mgcv' > But in the package check summary on CRAN mgcv > gets OK. > > > sessionInfo() > R version 2.4.0 alpha (2006-09-16 r39365) > i386-pc-mingw32 > > locale: > LC_COLLATE=Spanish_Bolivia.1252;LC_CTYPE=Spanish_Bolivia.1252;LC_MONETARY=Spanish_Bolivia.1252;LC_NUMERIC=C;LC_TIME=Spanish_Bolivia.1252 > > attached base packages: > [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" > [7] "base" > > Kjetil B HalvorsenIf a straight library(mgcv) doesn't work, then I suspect you are picking up a different (older) version of the package. What does library() tell you about mgcv? -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
>>>>> "Kjetil" == Kjetil Halvorsen <kjetilbrinchmannhalvorsen at gmail.com> >>>>> on Tue, 19 Sep 2006 16:56:24 -0400 writes:Kjetil> Hola! Kjetil> I am sending this to the list since emails from me to Simon Wood Kjetil> has bounced earlier. Kjetil> I get: >> library(tsDyn) Kjetil> Loading required package: mgcv Kjetil> Erro en `parent.env<-`(`*tmp*`, value = NULL) : Kjetil> use of NULL environment is defunct Kjetil> Error: package 'mgcv' could not be loaded >> library(mgcv) Kjetil> Erro en `parent.env<-`(`*tmp*`, value = NULL) : Kjetil> use of NULL environment is defunct Kjetil> Error: package/namespace load failed for 'mgcv' Kjetil> But in the package check summary on CRAN mgcv Kjetil> gets OK. Yes, because it *is* ok. I'm pretty sure you are getting an old version of 'mgcv' instead of the correct one. Look at the result of ll <- library() ll$res[ll$res[,1] == "mgcv" ,] >> sessionInfo() Kjetil> R version 2.4.0 alpha (2006-09-16 r39365) Kjetil> i386-pc-mingw32 Kjetil> locale: Kjetil> LC_COLLATE=Spanish_Bolivia.1252;LC_CTYPE=Spanish_Bolivia.1252;LC_MONETARY=Spanish_Bolivia.1252;LC_NUMERIC=C;LC_TIME=Spanish_Bolivia.1252 Kjetil> attached base packages: Kjetil> [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" Kjetil> [7] "base" Kjetil> Kjetil B Halvorsen Kjetil> [[alternative HTML version deleted]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (I thought you would know better ...) Martin