title: Error when opening shapefile
body: <p>I am trying to open a shapefile in R, but I am getting the following error message:</p>
  
  <pre><code>Error in getinfo.shape(filen) : Error opening SHP file
  </code></pre>
  
  <p>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:</p>
  
  <pre><code>getinfo.shape("/Users/Suz/Desktop/DWH satellite maps/20100517_Composite.shp")
  </code></pre>
  
  <p>I have tried it without the <code>.shp</code> extension, and with other commands, such as <code>readShapePoints</code> 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.</p>