Files
shiny/man/startApp.Rd
2012-07-12 16:36:32 -07:00

30 lines
846 B
R

\name{startApp}
\alias{startApp}
\title{Creates a new app with the given properties.}
\usage{
startApp(app = "./app.R", www.root = "./www",
sys.www.root = system.file("www", package = "shiny"),
port = 8101L)
}
\arguments{
\item{app}{If a character string, a path to the R file
that contains the server application logic. If a
function, the actual server application logic (should
take \code{input} and \code{output} parameters).}
\item{www.root}{Path to the root of the
application-specific www files (which should include
index.html).}
\item{sys.www.root}{Path to the system www root, that is,
the assets that are shared by all Shiny applications
(shiny.css, shiny.js, etc.).}
\item{port}{The TCP port that the application should
listen on.}
}
\description{
Creates a new app with the given properties.
}