Skip to content

readShapeSpatial error with 2.11.1

2 messages · jroll, Roger Bivand

#
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.
#
On Thu, 9 Sep 2010, jroll wrote:

            
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