mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
- 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
13 lines
173 B
R
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)
|