shiny (version 0.9.1)

runUrl: Run a Shiny application from a URL

Description

Download and launch a Shiny application that is hosted at a downloadable URL. The Shiny application must be saved in a .zip, .tar, or .tar.gz file. The Shiny application files must be contained in a subdirectory in the archive. For example, the files might be myapp/server.r and myapp/ui.r.

Usage

runUrl(url, filetype = NULL, subdir = NULL, port = NULL,
  launch.browser = getOption("shiny.launch.browser", interactive()))

Arguments

Examples

Run this code
runUrl('https://github.com/rstudio/shiny_example/archive/master.tar.gz')

# Can run an app from a subdirectory in the archive
runUrl("https://github.com/rstudio/shiny_example/archive/master.zip",
 subdir = "inst/shinyapp/")

Run the code above in your browser using DataLab