rCharts with Slidify

rPlot

library(rCharts)
r1 <- rPlot(mpg ~ wt | gear, data = mtcars, type = 'point')
r1$print('chart1', include_assets = TRUE, cdn = TRUE)
Created with Raphaël 2.1.0gear:3;gear:4;gear:5;23451520253023452345wtmpg

nPlot

hair_eye_male = subset(as.data.frame(HairEyeColor), Sex == "Male")
n1 <- nPlot(Freq ~ Hair, group = 'Eye', 
    data = hair_eye_male, type = 'multiBarChart')
cat('<style>.nvd3{height: 400px;}</style>')
n1$print('chart2', include_assets = TRUE, cdn = TRUE)

BlackBrownRedBlond0.05.010.015.020.025.030.035.040.045.050.00.053.0BrownBlueHazelGreenGroupedStacked