I am brand new to R and GIS and I ultimately am not doing anything to complicated (for now) but have been struggling with even the most basic task! I'm simply trying to plot a map of the US states. I was following along with a tutorial and decided to do it with my own data. I import (using readOGR) the shapefile and it shows up as a "Large SpatialPolygonsDataFrame (56 elements, 6.6MB). Then I tried graphing it: plot(state) and it took about 45 minutes to produce a graph that didn't even look quite right.
I figured it was a ram issue on my computer but then I tried it with the shapefile specified in the tutorial. It came in as a formal class spatialpolygonsdataframe and plotting it took around a second.
Therefore I figure it's something with the shapefile.
Is there way to compress it/ change it so it's not a "large" dataframe or just speed up operations in general?