Create Shiny Presentation from Shiny App?

你说的曾经没有我的故事 提交于 2019-12-03 16:35:21

Am I chasing a functionality that doesn't currently exist?

A little bit. :-)

Interactive Shiny presentations (and documents) can't be saved as HTML. They need a server to run the R code they contain. What's happening is that your app is trying to render an interactive presentation to a static HTML file, which isn't supported.

The short answer then is that instead of "Download" you need a "Run", which calls rmarkdown::run instead of rmarkdown::render.

If you're looking for a downloadable asset, the best you can do is probably to have a download of the .Rmd itself, with appropriate string replacements for the current UI state; this .Rmd can then be run at any time with rmarkdown::run.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!