title: R ggplot, remove white margins in ggsave/ggplot
body: <p>How can I remove the white margins in ggsave?</p>
  
  <p>My question is exactly the same as <a href="https://stackoverflow.com/q/16369708/1568919">Remove white space (i.e., margins) ggplot2 in R</a>. However, the answer there isn't ideal for me. Instead of trial and error for a fixed but unknown aspect ratio, I would like to give <code>ggsave</code> a <code>height</code> and <code>weight</code> and want my plot (ie top of title to bottom of x-label) to automatically expand to that configuration without white margin.</p>
  
  <p><a href="https://stackoverflow.com/q/16441690/1568919">How can I remove the strange white margin around my .png (plotted with r, ggplot)?</a> gives a way to make the margin transparent, but they are still there and the plot is smaller than <code>height</code> and <code>width</code> I set in the saved file.</p>