I'm trying to use the packages DT and dygraphs into my slidify presentation in R. However, it seems it's not as straightforward as I thought. Is there any extra command I need to add in order to use the htmlwidgets produced by the datatable() and dygraphs() commands?
For example, if I run the following code in a slidify slide:
```
x <- rnorm(100)
y <- x + rnorm(100, 0, 0.05)
fit <- lm(y ~ x)
library(broom)
library(DT)
datatable(tidy(model))
```
I get a message that looks like this:
I'm trying to use the packages DT and dygraphs into my slidify presentation in R. However, it seems it's not as straightforward as I thought. Is there any extra command I need to add in order to use the htmlwidgets produced by the datatable() and dygraphs() commands?
For example, if I run the following code in a slidify slide:
I get a message that looks like this: