title: How to render qcc plots to HTML using RMarkdown and knitr
body: <p>First SO question so please go easy.</p>
  
  <p>I am running the qcc package with Rstudio and I would like to create a report on the graphs that I am generating. I have no problem generating the graphs and exporting each individual graph to pdf for example. I also have no problem creating a HTML document with RMarkdown and Knitr with other plots.
  However, with qcc package, I cannot do this! Hopefully someone out there has had this issue and solved.</p>
  
  <p>Here is example from ?qcc that can be used in an RMarkdown file with the issue I am seeing:</p>
  
  <pre><code>data(pistonrings)
  attach(pistonrings)
  diameter &lt;- qcc.groups(diameter, sample)
  
      qcc(diameter[1:25,], type="xbar")
      qcc(diameter[1:25,], type="xbar", newdata=diameter[26:40,])
      q &lt;- qcc(diameter[1:25,], type="xbar", newdata=diameter[26:40,], plot=FALSE)
      plot(q, chart.all=FALSE)
  </code></pre>
  
  <p>Thanks in advance for support.</p>