close-methods: Close a Sleigh or netWorkSpace

Description Usage Arguments Details Examples

Description

If the first argument is a sleigh object, then close calls stopSleigh to shut down the sleigh workers and delete the sleigh workspace. If the first argument is a nwsServer object, then the connection to the netWorkSpace server is closed.

Usage

1
2
3
4
## S4 method for signature 'nwsServer'
close(con, ...)
## S4 method for signature 'sleigh'
close(con, ...)

Arguments

con

an object of class sleigh or nwsServer.

...

optional fields

Details

The optional arguments are not passed to stopSleigh method. They are defined to be compatible with the default, non-generic close method.

Examples

1
2
3
4
5
6
7
8
## Not run: 
s = sleigh()
close(s)

wss = nwsServer()
close(wss)

## End(Not run)

nws documentation built on May 2, 2019, 8:51 a.m.