Problem with spatstat
Dr. Baddeley, thanks for your answer
I agree with you, it is not an error with spatstat but an error
that appears when I call spatstat with library("spatstat")
or require("spatstat") inmediately after the R startup.
Is spatstat calling mgcv by default?
I tried:
install.packages("mgcv")
library("mgcv")
and the problem persist. I will contact the authors
of mgcv.
Thanks again, spatstat is a wonderful tool.
Rodrigo
On Sep 6, 2010, at 12:43 AM, <Adrian.Baddeley at csiro.au> wrote:
Rodrigo De Carreras <rodrigodecarreras at gmail.com> wrote:
I worked with spatstat many times without problems, but now when I call for the package the following error appears with mgcv:
require("spatstat")
Loading required package: spatstat
Loading required package: mgcv
Error : .onAttach failed in attachNamespace() for 'mgcv', details:
call: formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
error: incorrect values of 'indent' and 'width'
Error: package 'mgcv' could not be loaded
This is not a problem with spatstat. The error messages indicate that it is a problem with the package 'mgcv' or possibly with the code for namespaces. Try installing the latest version of mgcv and then typing library(mgcv). If this does not work then contact the author of mgcv. Adrian Baddeley