Skip to content

Instantly share code, notes, and snippets.

@jcheng5

jcheng5/server.R Secret

Created February 18, 2014 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcheng5/999d2c0d5a6fe48ff137 to your computer and use it in GitHub Desktop.
Save jcheng5/999d2c0d5a6fe48ff137 to your computer and use it in GitHub Desktop.
shinyServer(function(input, output, session) {
output$foo <- renderUI({
invalidateLater(2000, session)
withMathJax(paste0("\\(", runif(1), " / x\\)"))
})
})
shinyUI(basicPage(
uiOutput('foo')
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment