vegawidget (version 0.1.0)

vw_shiny_demo: Run Shiny demonstration-apps

Description

Run Shiny demonstration-apps

Usage

vw_shiny_demo(example = NULL, ...)

Arguments

example

character, name of the example to run; if NULL (default), prints out a list of available examples

...

additional arguments passed to shiny::runApp()

Value

invisible NULL, called for side-effects

Examples

Run this code
# NOT RUN {
  vw_shiny_demo() # returns available examples

  # Run only in interactive R sessions
  if (interactive()) {
    vw_shiny_demo("data-set")
  }
# }

Run the code above in your browser using DataLab