runVideoExample {video}R Documentation

Run {video} Example Applications

Description

Run {video} Example Applications

Usage

runVideoExample(example = "basic", display.mode = "showcase", ...)

availableVideoExamples()

Arguments

example

Name of the example to load. Current examples include:

basic

Basic example of video in use

full

Basic example of using all buttons available in video

server

Example showing server-side functionality

display.mode

The mode in which to display the application. By default set to "showcase" to show code behind the example.

...

Optional arguments to send to shiny::runApp

Value

This function does not return a value; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).

Examples

availableVideoExamples()

if (interactive()) {
  library(shiny)
  library(video)

  runVideoExample("server")
}


[Package video version 0.1.1 Index]