gCMAPWeb: Start local gCMAPWeb instance

Description Usage Arguments Value Author(s) Examples

View source: R/cmap.R

Description

This function starts a gCMAPWeb instance on the local machine using R's internal web server.

Usage

1
2
gCMAPWeb(config.file.path = system.file("config", "config.yml", package =
  "gCMAPWeb"), url.root = system.file("htdocs", package = "gCMAPWeb"))

Arguments

config.file.path

character, path to a gCMAPWeb configuration file in yaml format

url.root

character, path to the htdocs folder

Value

an Rhttpd class object

Author(s)

Thomas Sandmann

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if (interactive()) {
  ## start a gCMAPWeb instance with the example data and
  ## configuration provided in the package
  gCMAPWeb()
  ## same as above, explicitely specifying the location
  ## of the configuration file
  gCMAPWeb( 
    config.file.path = system.file("config", "config.yml", 
                                    package = "gCMAPWeb" )
  )
}

gCMAPWeb documentation built on April 28, 2020, 8:23 p.m.