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]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.