unexport-methods: sleigh Class Method

Description Usage Arguments See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
## Not run: 
s <- sleigh()
x <- 6
export(s, 'x', x)
unexport(s, 'x')

## End(Not run)

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