unexport {nws} | R Documentation |
sleigh Class Method
Description
Remove a variable from the scope of the workers or specified worker.
Usage
## S4 method for signature 'sleigh':
unexport(.Object, xName, worker=NULL)
Arguments
.Object |
a sleigh class object. |
xName |
a variable name (given as a quoted string in the function call). |
worker |
integer rank of the worker where the variable is defined.
The rank values range from 0 to workerCount - 1.
By default, the variable is removed from all workers in the sleigh. |
See Also
export
Examples
## Not run:
s <- sleigh()
x <- 6
export(s, 'x', x)
unexport(s, 'x')
## End(Not run)
[Package
nws version 1.7.0.0
Index]