I need to clip a shapefile, the same way one would use Extract by Polygon on a Raster to achieve a smaller subset of the shapefile. I have previously exployed Extract by Polygon on a Raster and used that raster subsequently in an Extract by Mask operation on the desired shapefile of interest to obtain the final shapefile.
Is there any option to clip a shapefile, given a set of coordinates? I am open to solutions in either ArcMap or R.