Description Usage Arguments Details Value Author(s) See Also Examples
Main functions for starting and stopping example gridSVG-based web applications.
1 2 | thesisExample(name, addr = NA, port = NA, browse = NA)
stopThesisExample()
|
name |
The name of an example to start. See
|
addr |
The IP address to listen on. By default (and Rook is fixed on this)
this is This should be left alone. |
port |
The port that the example should listen on. The default port is
|
browse |
Logical. Whether to automatically browse to the application started
by the example. By default this is |
When addr, port, browse are NA, they take
the current value stored in getExampleOptions. When they
are not NA, they assign the value to be the new value stored
for the option, which is then used for any example applications.
None.
Simon Potter
getExampleOptions, getExampleOption,
setExampleOptions.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Run LOESS example on the default port and browsing to it
thesisExample("loess")
# Stopping it
stopThesisExample()
# Starting the same application on a different port but not browsing to it
thesisExample("loess", port = 4444L, browse = FALSE)
# Stopping it
stopThesisExample()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.