shiny (version 0.5.0)

runGist: Run a Shiny application from https://gist.github.com

Description

Download and launch a Shiny application that is hosted on GitHub as a gist.

Usage

runGist(gist, port = 8100L,
    launch.browser = getOption("shiny.launch.browser", interactive()))

Arguments

gist
The identifier of the gist. For example, if the gist is https://gist.github.com/jcheng5/3239667, then 3239667, '3239667', and 'https://gist.github.com/jcheng5/3239667' are all valid values.
port
The TCP port that the application should listen on. Defaults to port 8100.
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.

Examples

Run this code
runGist(3239667)
runGist("https://gist.github.com/jcheng5/3239667")

# Old URL format without username
runGist("https://gist.github.com/3239667")

Run the code above in your browser using DataCamp Workspace