Is there a “Save Page As PDF” for Shiny app?

梦想与她 提交于 2020-01-06 05:36:08

问题


So I am aware that there is RMarkdown and it is used to generated reports to be printed out in various format (pdf included). I am still very new to R Shiny and will certainly get to RMarkdown soon. However, in the mean time, I am wondering if there is a simple way to print the entire page of an app into pdf, the same way that we normally do for a typical website: 1 - Right-click anywhere on a website to get the popup menu 2 - Select Print 3 - Print As PDF

I don't seem to find any discussions on this action. So far, most discussions seem to be about tailoring a report, or plots, or some specific UI element. I am looking to print the whole page of the app as it appears (which include 50-100 elements for my case, such as selectInputBox, textInputBox, actionButton, table, etc.).

In case anyone is asking "why don't you just print as pdf the app the same way as for a normal website, as you describe above?": part of my app objective is to print out the app in a pdf and email to several people, who do not have access to run the app.

Thanks

来源:https://stackoverflow.com/questions/59575735/is-there-a-save-page-as-pdf-for-shiny-app

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