I am trying to open a shapefile in R, but I am getting the following error message:
Error in getinfo.shape(filen) : Error opening SHP file
I have checked other responses and most problems seem to have been solved by ensuring that the .dbf and .shx files are in the same folder. I have them all in the same folder (along with some other extensions too) but I still get the error message. I work on a mac. This is my code:
getinfo.shape("/Users/Suz/Desktop/DWH satellite maps/20100517_Composite.shp")
I have tried it without the .shp
extension, and with other commands, such as readShapePoints
etc. Nothing has worked so far. Please help, I am new to R and making maps, and after extensive Googling and forum-reading I am still stuck.