[R-sig-Geo] readShapeSpatial error with 2.11.1

Roger Bivand Roger.Bivand at nhh.no
Thu Sep 9 18:23:16 CEST 2010


On Thu, 9 Sep 2010, jroll wrote:

>
> Anyone encounter an issue with using the readShapeSpatial function 
> from maptools in the latest version of R.  I get a simple "Error in
> read.dbf(filen) : unable to open DBF file" but when i run the exact 
> script in 2.10.0 the script produces the map just fine.  What has changed
> or am i missing something/ 
>
> Sorry for no  code but i figured this may have been an unnecessary anyway.

update.packages()

In foreign, read.dbf() now requires a properly named file, not a file 
ending in *.shp. The update to maptools in early April (before 2.11.0 was 
released) fixed the problem.

Roger

>
> -- 
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/readShapeSpatial-error-with-2-11-1-tp5515151p5515151.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> 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