ReadOGR loading shape file Error in ogrListLayers(DSN = DSN) : Cannot open data source
The reason is that we only put SHP files in the working directory, but not the corresponding DBF and SHX files in the working directory, just put these files in the working directory.
The reason is that we only put SHP files in the working directory, but not the corresponding DBF and SHX files in the working directory, just put these files in the working directory.