Timothy Tuti
unread,Jun 26, 2013, 5:06:39 AM6/26/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to shiny-...@googlegroups.com
In my ui.R, I have code that is for plotting multiple graphs for each tab selected which looks like this:
tabPanel(id="danger","Danger Signs",
div(class="span6",plotOutput("dgrCyanosis",width="380px")), #the div helps put plots side by side
div(class="span6",plotOutput("dgrGrunting",width="380px")),
div(class="span6",plotOutput("dgrAvpu",width="380px")),
div(class="span6",plotOutput("dgrAcidotic",width="380px")),
HTML('<br clear="all" />'),
downloadButton('histPng','PNG'),
downloadButton('histPdf','PDF')
),#end of danger signs tab
I would like to be able to download all this graphs when I press one of the buttons. How would my code in the server.R look like?
Best regards,
Timothy Tuti