Created
June 30, 2014 12:00
-
-
Save wush978/8db062e86c215345e279 to your computer and use it in GitHub Desktop.
Show sessionInfo of shiny server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
shinyServer(function(input, output) { | |
output$sessionInfo <- renderPrint({ | |
capture.output(sessionInfo()) | |
}) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
shinyUI(pageWithSidebar( | |
headerPanel("SessionInfo"), | |
sidebarPanel( | |
), | |
mainPanel( | |
htmlOutput("sessionInfo") | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment