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? #414

Closed
jroberayalas opened this issue Mar 12, 2015 · 5 comments
Closed

How to use dygraphs and DT in slidify? #414

jroberayalas opened this issue Mar 12, 2015 · 5 comments

Comments

@jroberayalas
Copy link

Hi! 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. So far what I get is an output that looks like this:

captura de pantalla 2015-03-12 a la s 17 26 00

Is there any extra command I need to add in order to use the htmlwidgets produced by the datatable() and dygraphs() commands?

Thanks!

@arturochian
Copy link

It's a slidify issue related to html widgets (I asked before with DT rstudio/DT#9 ).
Slidily is so awesome and its integration with htmlwidget would be really "cRantastics"! 😄 .
I forget reporting this issue to @ramnathv.

Let me know if you solve this issue.

@ramnathv
Copy link
Owner

Slidify needs to implement some fundamental changes to let htmlwidgets place nicely with it. It is on my list of things to do, but thanks for filing an issue.

@jroberayalas
Copy link
Author

Thanks for your answer @ramnathv. Hope these changes come in the future. I'm a big fan of slidify!

@joseah
Copy link

joseah commented Apr 3, 2015

Asking something related to this in DT rstudio/DT#40
You can do this:

dynamic_table <- DT::datatable(x)
DT::saveWidget(dynamic_table, 'example.html')
cat('<iframe src="example.html" STYLE="width:100%;height:125%"> </iframe>')

I don't like mixing html code within slidify markdown, but it works. Hope this could be useful.

@embiuw
Copy link

embiuw commented Oct 11, 2018

Hi,
This thread goes back a few years now. Just wondering if you've managed to make any progress on linking htmlwidgets and slidify? Slidify is fantastic, but I would really like to embed dygraphs in my presentations.

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

5 participants