Can ggvis () output be included in Rstudio * .Rpres docs?

The latest version of rstudio includes the ability to create HTML5 slide folders using some background magic like slidify. However, if I turn on

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 specified code snippet will work as expected. However, knitting the Rpresentation file does not work, and I cannot find any documentation as to why there is a difference in behavior.

Update. It seems that HTML output is not yet supported for presentations, even though they are based on HTML. This seems to rule out ggvis () unless one of them is exported to svg or png using the method suggested in the answer below.

: , HTML-, . HTML.

+4
1

ggvis() - , , HTML, results = 'asis' . slidify svg.

+1

All Articles