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

Shiny Dashboard #166

Closed
vikram-rawat opened this Issue Jul 26, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@vikram-rawat

vikram-rawat commented Jul 26, 2017

is it possible to integrate a shiny dashboard in the Blogdown... if not then Are you planning to add it

@yihui

This comment has been minimized.

Member

yihui commented Jul 26, 2017

The only way to embed a Shiny app is through <iframe> (you need to publish the app in advance elsewhere, e.g. on ShinyApps.io). blogdown is for static websites only, which means there won't be an R session in the backend.

@vikram-rawat

This comment has been minimized.

vikram-rawat commented Aug 1, 2017

I heard a talk where you mentioned that r markdown can be used as php tool to get data or so.

I mean even in future can you or this project ever allow us to create a dynamic webpage. Like python or golang does. Just curious don't want to learn any new language if something can be done in R programming.

Please any comment would do

@yihui

This comment has been minimized.

Member

yihui commented Aug 1, 2017

Yes, I mentioned that in one of my rstudio::conf talks early this year. R Markdown has something in common with PHP, and you can certainly use it just like PHP. For example, you can combine R Markdown with Shiny: http://rmarkdown.rstudio.com/articles.html Then every time someone visits your R Markdown page, the code will be dynamically executed.

I don't quite recommend you to build a whole website as a gigantic Shiny app unless you can afford it (hosting Shiny apps will be more expensive than static HTML pages). As I said above, I recommend <iframe> on static HTML pages.

@yihui yihui added this to the v0.1 milestone Aug 8, 2017

@yihui yihui closed this Aug 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment