Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Created May 1, 2013 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramnathv/bf55c9d47e461c037261 to your computer and use it in GitHub Desktop.
Save ramnathv/bf55c9d47e461c037261 to your computer and use it in GitHub Desktop.
rCharts with Slidify using IO2012
---
title : rCharts with Slidify
framework : io2012 # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight.js # {highlight.js, prettify, highlight}
hitheme : solarized_light #
widgets : [nvd3] # {mathjax, quiz, bootstrap}
mode : selfcontained # {standalone, draft}
---
```{r setup, message = F, echo = F}
require(rCharts)
options(RCHART_WIDTH = 800, RCHART_HEIGHT = 500)
knitr::opts_chunk$set(comment = NA, results = 'asis', tidy = F, message = F)
```
## NVD3 Scatterplot
```{r echo = F}
n1 <- nPlot(mpg ~ wt, group = 'gear', data = mtcars, type = 'scatterChart')
n1$print('chart1')
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment