nwsFind {nws} | R Documentation |
Find a value associated with a variable in a shared netWorkSpace.
## S4 method for signature 'netWorkSpace': nwsFind(.Object, xName)
.Object |
a netWorkSpace class object. |
xName |
character string specifying the name of the variable to find. |
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.
## Not run: ws <- netWorkSpace('nws example') nwsStore(ws, 'x', 1) x <- nwsFind(ws, 'x') ## End(Not run)