The latest version of rstudio includes the ability to generate HTML5 slide decks using some background magic similar to slidify. However, if I include
Slide With Plot
========================================================
```{r, echo=FALSE}
library(knitr)
pressure %>% ggvis(~temperature,~pressure) %>%
layer_points() %>%
layer_lines()
```
I get the following results in the html output:
Slide With Plot
<!–html_preserve–>
Renderer: SVG | Canvas
Download
<!–/html_preserve–>
Knitting a regular *.Rmd file with the above code chunk would work as expected. However, knitting the Rpresentation file doesn't seem to work and I can't find any documentation as to why there is a difference in behavior.
Update: It seems like HTML output isn't yet supported for presentations despite them being HTML based. This would seem to rule out ggvis() unless one exports to svg or png via the method suggested in an answer below.
Error: Functions that produce HTML output found in document targeting revealjs output. Please change the output type of this document to HTML.