vino radha
vino radha

Reputation: 33

error in .shp and .dbf files

http://web1.sph.emory.edu/users/lwaller/ch9index.htm

I'm getting error for .shp and .dbf files

library(maptools) scot_mp <- readShapeSpatial('C:/Documents and Settings/Admin/Desktop/scotlip/lip cancer/New Scot/scot.shp')

Error in read.dbf(filen1) : unable to open DBF file

sorry sir, im getting this error,can you please help me,i copied same folder as scot.shp,scot.dbf,scot.shx, bt still im getting this error

scot_mp <- readShapeSpatial('C:/Documents and Settings/Admin/Desktop/scotlip/lip cancer/new scot1/scot.shp') Error in getinfo.shape(fn) : Error opening SHP file

Upvotes: 0

Views: 1218

Answers (1)

Reuben L.
Reuben L.

Reputation: 2859

If your DBF file is named with a .dbf extension, try renaming it to .DBF. In other words, capitalize the extension name.

Upvotes: 1

Related Questions