问题
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