Description Usage Arguments Value Author(s) Examples
This function starts a gCMAPWeb instance on the local machine using R's internal web server.
1 2 | gCMAPWeb(config.file.path = system.file("config", "config.yml", package =
"gCMAPWeb"), url.root = system.file("htdocs", package = "gCMAPWeb"))
|
config.file.path |
character, path to a gCMAPWeb configuration file in yaml format |
url.root |
character, path to the htdocs folder |
an Rhttpd class object
Thomas Sandmann
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" )
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.