[R-sig-Geo] Better print method for Spatial*DataFrames?

Roger Bivand Roger.Bivand at nhh.no
Sat May 29 18:10:28 CEST 2010


On Sat, 29 May 2010, Peter Larson wrote:

> Hello,
>
> I am attempting to use the sample code in "Applied Spatial Data Analysis 
> with R" but cannot get this to work and get this error:
>
> > nc = readShapePoly(system.file("shapes/sids.shp", package="maptools")[1],
> + IDvar="FIPSNO", proj4string=CRS("+proj=longlat +ellps=clrk66"))
> 以下にエラー read.dbf(filen) : unable to open DBF file
>
> Any ideas?

Please update your installed packages - this looks like a mismatch between 
foreign and maptools.

Roger

>
> Thanks,
>
> Pete
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

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


More information about the R-sig-Geo mailing list