Files
shiny/man/runGist.Rd

38 lines
1.1 KiB
R

\name{runGist}
\alias{runGist}
\title{Run a Shiny application from https://gist.github.com}
\usage{
runGist(gist, port = NULL, launch.browser = "auto")
}
\arguments{
\item{gist}{The identifier of the gist. For example, if
the gist is https://gist.github.com/jcheng5/3239667, then
\code{3239667}, \code{'3239667'}, and
\code{'https://gist.github.com/jcheng5/3239667'} are all
valid values.}
\item{port}{The TCP port that the application should
listen on. Defaults to choosing a random port.}
\item{launch.browser}{If true, the system's default web
browser will be launched automatically after the app is
started. Defaults to \code{"auto"}, which uses the
\code{shiny.launch.browser} preference if present, and
invokes the browser specified by \code{shiny.browser} if
specified.}
}
\description{
Download and launch a Shiny application that is hosted on
GitHub as a gist.
}
\examples{
\dontrun{
runGist(3239667)
runGist("https://gist.github.com/jcheng5/3239667")
# Old URL format without username
runGist("https://gist.github.com/3239667")
}
}