runUrl

0th

Percentile

Run a Shiny application from a URL

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
url
URL of the application.
filetype
The file type (".zip", ".tar", or ".tar.gz". Defaults to the file extension taken from the url.
subdir
A subdirectory in the repository that contains the app. By default, this function will run an app from the top level of the repo, but you can use a path such as `"inst/shinyapp".
port
The TCP port that the application should listen on. Defaults to choosing a random port.
launch.browser
If true, the system's default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only.
Aliases
  • runUrl
Examples
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/")
Documentation reproduced from package shiny, version 0.9.0, License: GPL-3

Community examples

Looks like there are no examples yet.