nwsFind {nws}R Documentation

netWorkSpace Class Method

Description

Find value associates with a variable in the shared netWorkSpace, .Object.

Usage

## S4 method for signature 'netWorkSpace':
nwsFind(.Object, xName)

Arguments

.Object a netWorkSpace class object
xName name of the variable to be found

Details

Find method blocks until a value for xName is found in the shared netWorkSpace .Object. Once found, return the value associated with xName, but the value is not removed from the shared netWorkSpace (as in the case of nwsFetch). If there is more than one value associated with xName, the particular value returned depends on xName's behavior. See nwsDeclare for details.

See Also

nwsDeclare, nwsFetch

Examples

## Not run: 
ws <- netWorkSpace('nws example')
nwsStore(ws, 'x', 1)
x <- nwsFind(ws, 'x')
## End(Not run)

[Package nws version 1.6.3 Index]