launchApp: Launch the browser application

Description Usage Arguments Examples

Description

This function loads the specified configuration with load.config and launches the web browser using shiny::runApp. [TODO: specify needed config.R format in seperate help file.]

Usage

1
2
3
4
5
launchApp(scenario = list(conf = ohicore::conf.Global2013.www2013, layers =
  ohicore::layers.Global2013.www2013, scores =
  ohicore::scores.Global2013.www2013, spatial =
  system.file("extdata/spatial.www2013", package = "ohicore"), dir =
  path.expand("~/myohi/scenario.Global2013.www2013")), debug = F, ...)

Arguments

config.R

path to configuration file

...

arguments passed to shiny::runApp

Examples

1
2
3
4
5
6
7
8
## Not run: 
# for now, must make objects global
conf   <<-
layers = layers.Global2013.www2013
scores = scores.Global2013.www2013
launchApp(conf.Global2013.www2013, layers, scores)

## End(Not run)

bbest/ohigui documentation built on May 11, 2019, 9:25 p.m.