I have a very large ESRI shapefile (>8000 polygons, .shp file is >32MB), which I want to read into R on Windows 7.
I am familiar with rgdal and readOGR(). However, with this size of shapefile, reading the entire shapefile into memory is a very slow process. Furthermore, I am only interested in a few clustered polygons (<100) of the 8,000 that are contained in the shapefile. The process for which I need to do this is highly repetitive, i.e. the shapefile needs to be loaded many times, so it is currently very slow.
Hence, I am wondering if it is possible to only read in a part of the shapefile in order to accelerate the process. It seems unpractical to load such a massive amount of data and then discard most of it.