Example shiny app
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
inst/shinyapp Add files in inst/shinyapp Jan 23, 2013
README.md Update README Jan 23, 2013
server.r First commit Jan 22, 2013
ui.r First commit Jan 22, 2013


Example Shiny app

This is an example application for Shiny. The main purpose of this example is to illustrate how to run Shiny apps from a remote source. There are many ways to download and run it:


# Easiest way is to use runGitHub
runGitHub("shiny_example", "rstudio")

# Run a tar or zip file directly

Or you can clone the git repository, then use runApp():

# First clone the repository with git. If you have cloned it into
# ~/shiny_example, first go to that directory, then use runApp().

To run a Shiny app from a subdirectory in the repo or zip file, you can use the subdir argument. This repository happens to contain another copy of the app in inst/shinyapp/.

runGitHub("shiny_example", "rstudio", subdir = "inst/shinyapp/")

  subdir = "inst/shinyapp/")