title: ggplot2 plot fill page in landscape (pdf)
body: <p>I'm trying to render a plot to a PDF using the following approach:</p>
  
  <pre><code>pdf('~/Desktop/test.pdf', bg = "white", paper="USr")    
  p &lt;- ggplot(df, aes(something)) + geom_bar();
  print(p)
  # I'm actually printing a bunch of graphs to the PDF
  dev.off()
  </code></pre>
  
  <p>The "USr" in the PDF function is setting up the PDF to print in landscape mode. The plot is produced and is centered on the page but there is a large right/left margin and the plot isn't scaling out to take up the full 11" available to it.</p>
  
  <p>I've tried some tweaks to the pdf(...) command and to the ggplot itself. Is there a solution this way or do I need to use a dedicated reporting/pdf package like sweave or knitr?</p>