Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use dygraphs and DT in slidify? #2

Open
jroberayalas opened this issue Mar 12, 2015 · 0 comments
Open

How to use dygraphs and DT in slidify? #2

jroberayalas opened this issue Mar 12, 2015 · 0 comments

Comments

@jroberayalas
Copy link

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:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant