Read and write ESRI Shapefiles with R