Learn R Programming

nws (version 1.6.2)

unexport: sleigh Class Method

Description

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

Usage

## S3 method for class '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

Run this code
s <- sleigh()
x <- 6
export(s, 'x', x)
unexport(s, 'x')

Run the code above in your browser using DataLab