title: embed rChart in Markdown
body: <p>I am trying to embed a NVD3 chart in a Markdown document. I am on a Ubuntu64 system with RStudio 0.98.932, R 3.1.0, rCharts 0.4.2, the browser is Chrome. </p>
  
  <p>The instructions/code from <a href="http://bl.ocks.org/ramnathv/raw/8084330/" rel="nofollow">this</a> link:</p>
  
  <pre><code> ```{r}
  
  library(rCharts)
  library(knitr)
  opts_chunk$set(comment = NA, results = "asis", comment = NA, tidy = F)
  
  hair_eye_male = subset(as.data.frame(HairEyeColor), Sex == "Male")
  n1 &lt;- nPlot(Freq ~ Hair, group = 'Eye', 
    data = hair_eye_male, type = 'multiBarChart'
  )
  n1$set(width = 600)
  # n1$show('iframesrc', cdn = TRUE)  # option 1
  # n1$show('inline', include_assets = TRUE, cdn = TRUE)  # option 2
  ```
  </code></pre>
  
  <p>Neither of the options [n1$show] work, I just get code in a browser. Is there another way of including NVD3 documents in Markdown? </p>