When I run this RMarkdown code:
---
title: "test"
output: html_document
---
```{r cache=FALSE}
library(rCharts)
library(knitr)
opts_chunk$set(comment = NA, results = "asis", comment = NA, tidy = F)
hair_eye = as.data.frame(HairEyeColor)
p2 <- nPlot(Freq ~ Hair, group = 'Eye', data = subset(hair_eye, Sex == "Female"), type = 'multiBarChart')
p2$chart(color = c('brown', 'blue', '#594c26', 'green'))
p2$show('inline', include_assets = TRUE, cdn = TRUE)
```
I get this: http://rpubs.com/rajesh06/test_Rmd
I also tried the "self-contined: no" option by changing to this:
output:
html_document:
self-contained: no
but that did not seem to help.
Any ideas?