title: iterate a sequence of plots
body: <p>I'd like to be able to iterate through a sequence of plots similar to how <code>plot.lm()</code> does</p>
  
  <p>I have this so far but it doesn't update the plot, just shows initial values.</p>
  
  <p>Anyone ideas how to get working as intended?</p>
  
  <pre><code>iterateResults &lt;- function(x)
  {
      oask &lt;- devAskNewPage(TRUE)
      on.exit(devAskNewPage(oask))
      for (i in 1:length(x))
      {
          plot(x[1]:x[i])
      }
  }
  </code></pre>