run_app: Run 'teachR' Apps

Description Usage Arguments Details Value Author(s) Examples

View source: R/run_app.R

Description

This function calls a Shiny app provided by the teachR library. The list of available Shiny apps can be obtained by typing list_apps() in your R terminal.

Usage

1
run_app(app)

Arguments

app

The name of the app to run.

Details

If called from RStudio, the app will open in the internal RStudio internet browser. If called from a terminal, it will open in your default internet browser. All apps should work without any problem with the internal RStudio internet browser, as well as with recent versions of most internet browsers. It is likely to break with older versions.

Value

This function does not return anything.

Author(s)

Simon Garnier, garnier@njit.edu

Examples

1
2
3
4
## Not run: 
 run_app("aggregation_segregation")

## End(Not run)

swarm-lab/teachR documentation built on Feb. 13, 2020, 2:40 a.m.