title: Creating random polygons within a set shapefiles boundary in R
body: <p>I have a shapefile which is the national boundary line of Chile. If possible, I would like to randomly generate e.g. 1000 polygons within this area. I'm wondering what the best way would be to go about this in R? I thought maybe, loading the shapefile using the 'shapefiles' package, then creating a point dataset using something available in 'spatstat'. Then I could create circular polygons based around these points... This is mostly hypothetical and I don't know if its possible. </p>
  
  <p>I have some experience in R but haven't really tried any spatial analysis before. </p>
  
  <p>Any thoughts and suggestions would be appreciated. </p>