Dear All
 
I want to import the vector file (   .shp) to R. I could import the file by rgdal package before, by following:
 
geology<-readOGR('C:/geology//saga/geo.geom','finalgeology')
 
but now there is an error: 
 
Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_field_name_encoding) : 
  
        GDAL Error 4: .shx file is unreadable, or corrupt.
 
Can you tell me where is the problem. 
Thanks alot

	[[alternative HTML version deleted]]

