[R-sig-Geo] Problem with spatstat

Adrian.Baddeley at csiro.au Adrian.Baddeley at csiro.au
Mon Sep 6 07:13:33 CEST 2010


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



More information about the R-sig-Geo mailing list