-----Original Message-----
From: Edzer Pebesma [mailto:edzer.pebesma at uni-muenster.de]
Sent: Thursday, June 11, 2009 11:02 AM
To: Tomislav Hengl
Cc: r-sig-geo at stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Problems with loading the "mgcv" package
In general, before you post questions of this kind to the list, it makes
sense to see if the packages load on your platform in a clean session,
e.g. started with R --vanilla. (Or, anyhow, without automatically
loading a data base or Rprofile type modified local configurations).
Then you know where to search!
--
Edzer
Tomislav Hengl wrote:
Hi guys,
Thanks for your reply (and apologies for a delay - it was night time in Europe).
I am running Windows XP, R version 2.9.0. I have just reinstalled spatstat with dependencies:
install.packages("spatstat", dependencies=TRUE)
and I get the same error:
Loading required package: mgcv
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) :
...
then I tried to re-install the mgcv package but this gives me an error:
Warning: cannot remove prior installation of package 'mgcv'
-----Original Message-----
From: Dylan Beaudette [mailto:debeaudette at ucdavis.edu]
Sent: Wednesday, June 10, 2009 7:40 PM
To: r-sig-geo at stat.math.ethz.ch
Cc: Hengl, T.
Subject: Re: [R-sig-Geo] Problems with loading the "mgcv" package
works for me:
library(spatstat)
sessionInfo()
Loading required package: mgcv
This is mgcv 1.5-5 . For overview type `help("mgcv-package")'.
Loading required package: gpclib
General Polygon Clipper Library for R (version 1.4-4)
Type 'class ? gpc.poly' for help
Loading required package: deldir
deldir 0.0-8
spatstat 1.15-3
R version 2.9.0 (2009-04-17)
i686-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-
8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=e
n_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spatstat_1.15-3 deldir_0.0-8 gpclib_1.4-4 mgcv_1.5-5
loaded via a namespace (and not attached):
[1] grid_2.9.0 lattice_0.17-25 nlme_3.1-92
On Wednesday 10 June 2009, Marcelino de la Cruz wrote:
Hi Tom,
I can load sptastat and mgcv without problem (see below).
Could you please send us information about your environment?
Cheers,
Marcelino
Loading required package: mgcv
This is mgcv 1.5-5 . For overview type `help("mgcv-package")'.
Loading required package: gpclib
General Polygon Clipper Library for R (version 1.4-3)
Type 'class ? gpc.poly' for help
Loading required package: deldir
deldir 0.0-8
spatstat 1.15-3
Type 'help(spatstat)' for information
R version 2.9.0 (2009-04-17)
i386-pc-mingw32
locale:
LC_COLLATE=Spanish_Spain.1252;LC_CTYPE=Spanish_Spain.1252;LC_MONETARY=Spani
sh_Spain.1252;LC_NUMERIC=C;LC_TIME=Spanish_Spain.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spatstat_1.15-3 deldir_0.0-8 gpclib_1.4-3 mgcv_1.5-5
loaded via a namespace (and not attached):
[1] grid_2.9.0 lattice_0.17-22 nlme_3.1-90 tools_2.9.0
At 16:40 10/06/2009, Hengl, T. wrote:
Hi,
I am having problems with loading the mgcv package, which is used by
the spatstat package. I did not have similar problems with the
latest version of the spatstat, so I imagine that the problem could
lay with the mgcv package (new parameters).
Loading required package: mgcv
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) :
incorrect values of 'indent' and 'width'
Error : .onAttach failed in 'attachNamespace'
Error: package 'mgcv' could not be loaded
How could we fix this?
thanks,
T. Hengl
http://home.medewerker.uva.nl/t.hengl/
[[alternative HTML version deleted]]