Skip to content
Prev 1458 / 29559 Next

Getting the Shapefile package to work?

Replied to on R-help, but shapefiles has an undeclared dependence on 
foreign, which ought to have been made explicit properly in the package. 

Since read.dbf() in foreign is the shapelib function (and maptools and
rgdal also use shapelib), this might suggest that using maptools or rgdal
is a better solution unless you really need to debug shapelib within R (I
have done this for GeoLytics Inc. shapefiles which were breaking the ESRI
specs for the *.shx file, so the shapefiles package can be really 
helpful with broken or non-standard shapefiles).

Roger
On Fri, 3 Nov 2006, Hvidberg, Martin wrote: