Learn R Programming

annotator (version 0.0.3.1)

runExample: Run Shiny Examples

Description

Launch Shiny example applications bundled in annotator.

Usage

runExample(example, ...)

Value

No return value, called for its side effects.

Arguments

example

The name of the example to run. Available are: 01_hello, 02_pipeline

...

further arguments to pass to shiny::runApp()

Examples

Run this code
## Only run this example in interactive R sessions
if (interactive()) {
 annotator::runExample("01_hello")
 annotator::runExample("02_pipeline")

 # Print the directory containing the code for all examples
 system.file("examples", package = "annotator")
}

Run the code above in your browser using DataLab