thesisExample: Start and stop gridSVG web applications

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Main functions for starting and stopping example gridSVG-based web applications.

Usage

1
2
thesisExample(name, addr = NA, port = NA, browse = NA)
stopThesisExample()

Arguments

name

The name of an example to start. See listThesisExamples for the list of available names.

addr

The IP address to listen on. By default (and Rook is fixed on this) this is localhost/127.0.0.1.

This should be left alone.

port

The port that the example should listen on. The default port is 13060.

browse

Logical. Whether to automatically browse to the application started by the example. By default this is TRUE.

Details

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.

Value

None.

Author(s)

Simon Potter

See Also

getExampleOptions, getExampleOption, setExampleOptions.

Examples

 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)

sjp/sjpMScThesis documentation built on May 30, 2019, 12:06 a.m.