I have spdep 4.58. Perhaps it is deprecated in the new version. Try looking
for sparse matrix representation in  the help files for spdep

Nikhil

On Mon, Jun 21, 2010 at 6:10 AM, Daniel Malter <daniel@umd.edu> wrote:

>
> as.spam.listw is an unknown function. Is it in a different package?
>
> Daniel
>
> other attached packages:
>  [1] spdep_0.5-11        coda_0.13-5         deldir_0.0-12
> maptools_0.7-34     foreign_0.8-38      nlme_3.1-96         MASS_7.3-3
>  [8] Matrix_0.999375-31  lattice_0.17-26     boot_1.2-41         sp_0.9-64
> igraph_0.5.3        RandomFields_1.3.41 svSocket_0.9-48
> [15] TinnR_1.0.3         R2HTML_1.59-1       Hmisc_3.7-0
> survival_2.35-7
>
> loaded via a namespace (and not attached):
> [1] cluster_1.12.1 grid_2.10.0    svMisc_0.9-56  tools_2.10.0
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Spatial-number-of-independent-components-tp2262018p2262422.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

