Files
shiny/R
Joe Cheng 516feafcfb Run apps without creating files on disk
With this commit, runApp can now accept a list instead of a path.
This list should have elements named "ui" and "server" that contain
what would normally go in shinyUI and shinyServer, respectively.
(Note that there is no equivalent to global.R, nor should there
need to be since you can just directly execute in the global env
before calling runApp.)

Example:

runApp(list(
  ui = bootstrapPage(
    numericInput('n', 'Number of obs', 100),
    plotOutput('plot')
  ),
  server = function(input, output) {
    output$plot <- renderPlot({ hist(runif(input$n)) })
  }
))
2013-05-23 10:00:38 -07:00
..
2013-05-13 10:54:54 -05:00
2013-04-19 10:34:34 -07:00
2013-02-07 10:46:20 -06:00
2013-02-28 21:06:06 -08:00
2012-11-24 00:30:44 -08:00
2013-05-13 10:54:54 -05:00
2012-11-21 23:02:40 -08:00
2013-04-22 16:29:40 -07:00