Re: [R-sig-Geo] From Sparse Matrix to Listw (capacity problems)

2006-10-24 Thread Roger Bivand
On Tue, 24 Oct 2006, Martin Reismann wrote: > Dear colleagues, > > This message concerns packages spdep and SparseM. > > I have a problem converting a large binary weight matrix (12432 * > 12432) from matrix.csr class to listw. > > I tried W.listw <- asListwMatrixCsr(W.csr) > which gives: erro

[R-sig-Geo] From Sparse Matrix to Listw (capacity problems)

2006-10-24 Thread Martin Reismann
Dear colleagues, This message concerns packages spdep and SparseM. I have a problem converting a large binary weight matrix (12432 * 12432) from matrix.csr class to listw. I tried W.listw <- asListwMatrixCsr(W.csr) which gives: error in asListwMatrixCsr(W.csr): row indices out of range As a se