Dear List,

I encountered an error message when trying to use Chebyshev as method for
SAR.
Please kindly help and thanks.

package spdep was updated on 07162010
system: windows vista home 32-bit
R version 2.10.0 (20091026)

Elaine

Code
> library(ncf)
> library(spdep)
>
> # Define coordinates, neighbours, and spatial weights
> coords<-cbind(datam$lat,datam$lon)
> coords<-as.matrix(coords)
>
> #Define neighbourhood (here distance 1.5)
> nb10<-dnearneigh(coords,0,9)
> nb10.w<-nb2listw(nb10, glist=NULL, style="W", zero.policy=FALSE)
> sem.nb10.w <-
errorsarlm(datam$WinterM_ratio~datam$topo_mean+datam$coast+datam$prec_max
+datam$temp_min+datam$evi_min, listw=nb10.w,
method="Chebyshev",tol.solve=1.0e-17)
error: cannot allocate vector of size 121.8 Mb

> sem.nb10.w <-
errorsarlm(datam$WinterM_ratio~datam$topo_mean+datam$coast+datam$prec_max
+datam$temp_min+datam$evi_min, listw=nb10.w,
method="Chebyshev",zero.policy=TRUE,tol.solve=1.0e-17)
error in switch(Generic, `+` = , `-` = { :
  Cholmod error 'out of memory' at file:../Core/cholmod_memory.c, line 148

	[[alternative HTML version deleted]]

