title: RStudio Exporting Issues
body: <p>I have never really needed to export anything from RStudio with specific dimensions. Now I am producing some graphs for a publication with a strict width of 2400 pixels. My major problem is that I have not used a singular traditional plot for what I have done. I have really customised my graph with various plots and segments. To evaluate the plot as I have been making it, I have been looking at the zoomed in plot in RStudio.</p>
  
  <p>So What I am asking is whether there was a way I could export exactly that zoomed in plot on RStudio to a png with the specified width (height, I am fairly flexible with).</p>
  
  <p>I have tried</p>
  
  <pre><code>dev.copy2pdf(device = "pdf", file = "test.pdf")
  </code></pre>
  
  <p>Which didn't work as I had hoped.</p>