title: visualizing and revising a large number of plots in for loop in r
body: <p>Here is the question where I have a number of plots and I want to revise them one by one visually at once pace. </p>
  
  <pre><code>xm &lt;- matrix(runif(20000), ncol = 1000)
  
   for (i in 1:ncol(xm)){
      hist(xm[,i], col = i)
   }
  </code></pre>
  
  <p>This loop will make the plots so fast that I will have slit second to look (or not at all) in graphical device. </p>