Learn R Programming

nws (version 1.7.0.1)

nwsFind: Find a Stored Value

Description

Find a value associated with a variable in a shared netWorkSpace.

Usage

"nwsFind"(.Object, xName)

Arguments

.Object
a netWorkSpace class object.
xName
character string specifying the name of the variable to find.

Details

The nwsFind method looks in the shared netWorkSpace .Object for a value bound to xName; if it finds such a value, nwsFind returns it but does not remove it. If no value is found, nwsFind blocks until a value for xName becomes available. 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

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

Run the code above in your browser using DataLab