This shows two examples of how to use rCharts with knitr.
knitr-rcharts1.Rmd: The default behavior of rCharts when embedded in a knitr document is to save the chart as a separate html file and include it in your document as an iframe. knitr-rcharts2.Rmd: You can force rCharts to print the chart inline, but you also need to include the required js and css assets. The two additional arguments ensure that js/css assets are included, and also rendered from an online CDN so that your html file is standalone.If you have questions, post as a comment here or on the github repo for rCharts.