title: embedding plots into html using knitr
body: <p>A co-worker of mine showed me a cool way to use Rstudio and turn a markdown R script into an hmtl.  All the plots from the Rscript are embedded in the html, so the one html file can be shared and contain the full documentation in one file.  I am trying to duplicate this outside of the Rstudio GUI, so that the html is automatically created (not by a user with a GUI).  I have tried knit() and knit2html(), these create html files for me, but they also create a "figure" folder that I would have to pass around with the html.  How can I embed plots and all into a single html file.</p>