Files
shiny/run.R
Joe Cheng 8a687851f2 Allow multiple clients to connect; doc improvements
- Multiple clients can now connect on a single port, and each one gets a unique shinyapp instance
- Improve docs for reactiveXXX functions
- Simplify interface for running an app
2012-07-13 00:29:17 -07:00

13 lines
173 B
R

library(shiny)
args <- commandArgs(trailingOnly=T)
if (length(args) == 0) {
stop("Usage: shiny.sh <app_dir>")
}
app.path <- args[1]
setwd(app.path)
runApp(port=8100L)