unexport {nws} | R Documentation |
Remove a variable from the scope of the workers or specified worker.
## S4 method for signature 'sleigh' unexport(.Object, xName, worker=NULL)
.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. |
## Not run: s <- sleigh() x <- 6 export(s, 'x', x) unexport(s, 'x') ## End(Not run)