The tutorial packages allows to include a datacamp interactive R window in an html document:
---
title: "Example Document"
output:
html_document:
self_contained: FALSE
---
```{r, include=FALSE}
tutorial::go_interactive()
```
By default, `tutorial` will convert all R chunks.
```{r}
a <- 2
b <- 3
a + b
```
I therefore thought it might be able to use it within an HTML5 presentation, for example like this:
---
title: "Example Document"
output:
ioslides_presentation:
self_contained: FALSE
---
```{r, include=FALSE}
tutorial::go_interactive()
```
By default, `tutorial` will convert all R chunks.
```{r}
a <- 2
b <- 3
a + b
```
However, that only created nonsense. Has anyone experience in getting this to work?
P.S.: The best result so far is a long alphanumeric string instead of a console in browser window (Google Chrome).

