title: How to change current Plot Window Size (in R)
body: <p>For example. Assume I do:</p>
  
  <pre><code>dev.new(width=5, height=4)
  plot(1:20)
  </code></pre>
  
  <p>And now I wish to do</p>
  
  <pre><code>plot(1:40)
  </code></pre>
  
  <p>But I want a bigger window for it.</p>
  
  <p>I would guess that the way to do it would be (assuming I don't want to open a new window) to do</p>
  
  <pre><code>plot(1:40, width=10, height=4)
  </code></pre>
  
  <p>Which of course doesn't work.</p>
  
  <p>The only solution I see to it would be to turn off the window and start a new one. (Which will end my plotting history)</p>
  
  <p>Is there a better way ?</p>
  
  <p>Thanks.</p>