Learn R Programming

nws (version 1.7.0.1)

unexport: sleigh Class Method

Description

Remove a variable from the scope of the workers or specified worker.

Usage

"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

Run this code
## Not run: 
# s <- sleigh()
# x <- 6
# export(s, 'x', x)
# unexport(s, 'x')
# ## End(Not run)

Run the code above in your browser using DataLab