[R] Installing spdep

Roger Bivand Roger.Bivand at nhh.no
Mon Jan 5 17:05:55 CET 2004

On Mon, 5 Jan 2004, Suzanne E. Blatt wrote:

> Hello all,
> I am trying to install the package 'spdep' and get the following error
> message when I invoke library(spdep) at the R prompt:
> Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source)
>     There is no package called 'maptools'
> Error in library(spdep) : package/namespace load failed
> I get this if I try to install 'on the fly' AND if I download directly
> from the download mirror (http://probability.ca/cran/) and then install
> inside my terminal (in superuser of course).
> Any thoughts on where I can get 'maptools' or why it can't seem to
> locate it if it is indeed on my machine?

This was answered in 


The spdep package depends on the maptools package, so install maptools
first, then spdep. That should mean that you can use it.


> Thanks,
> Suzanne
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no

More information about the R-help mailing list