Hi. I'm trying to run spatial conditional autoregression (spautolm) in SPDEP. My command is simply:

spautolm(vote~income, listw=listw5)

Listw5 is a weight matrix made up by nearest 5 neighbors. I have 22000 cases. However, the command could not run and I got the following message:

Error: cannot allocate vector of size 3.6 Gb

I tried to reduce the number of neighbor to 1. But I still got the same message back.

I tried running spatial lag regression in GeoDa and it worked fine. I wonder why the spautolm takes so much space in R? And is there another spatial regression package or command that allows 22k cases?

Also....GeoDa has bivariate moran i. Is there such routine in any of the R packages?

Thanks!

K.



       
---------------------------------


	[[alternative HTML version deleted]]


