title: Interactive/Dynamic plotting in R - Histogram as data is sampled
body: <p>I am working with Sequential Monte Carlo, and I would like to visualize how the data I am working with is distributed as it is being sampled. Therefore, I thought about creating a dynamic/interactive plot, to illustrate the development of the sampled data.</p>
  
  <p>I have tried to look at the first search matches on Google, but at a first glance, they do not do what I intend to do. 
  Instead, I thought about writing a for-loop with delays in it, but that is what I would expect from some already existing package including some repeat mechanism.</p>
  
  <p>I thought that there must be someone out there, who had thought about creating the same interactive plot which eases the understanding of how the method employed works.</p>
  
  <p>To sum it up with a few words, I would like to get a histogram of <code>X_t</code> as <code>t</code> progresses.</p>