| netWorkSpace {nws} | R Documentation |
NetWorkSpaces provides a framework to coordinate R programs. NetWorkSpaces objects represent a generalized workspace or environment. Two or more R programs communicate data by storing it in and retrieving it from the NetWorkSpace object.
Objects can be created by calls of the form
netWorkSpace(wsName, serverHost, port, useUse, serverWrap, ...)
or
new("netWorkSpace", wsName, serverHost, port, useUse, serverWrap, ...).
wsNameserverHostportuseUseuseUse=FALSE, which means ownership will be claimed.serverWrapserver"nwsServer" representation of the server that this netWorkSpace connects to.wsName"character" representation of this netWorkSpace's name.signature(.Object = "netWorkSpace"): netWorkSpace class constructor.nwsFetchsignature(.Object = "netWorkSpace"): fetch a value of a workspace variable.nwsFetchTrysignature(.Object = "netWorkSpace"): try to fetch a value of a workspace variable.nwsFindsignature(.Object = "netWorkSpace"): find a value of a workspace variable.nwsFindTrysignature(.Object = "netWorkSpace"): try to find a value of a workspace variable.nwsStoresignature(.Object = "netWorkSpace"): store a value into a workspace variable.nwsFetchFilesignature(.Object = "netWorkSpace"): fetch a value of a workspace variable and write it to a file.nwsFetchTryFilesignature(.Object = "netWorkSpace"): try to fetch a value of a workspace variable and write it to a file.nwsFindFilesignature(.Object = "netWorkSpace"): find a value of a workspace variable and write it to a file.nwsFindTryFilesignature(.Object = "netWorkSpace"): try to find a value of a workspace variable and write it to a file.nwsStoreFilesignature(.Object = "netWorkSpace"): store data from a file into a workspace variable.nwsIFetchsignature(.Object = "netWorkSpace"):
create a function that acts as a destructive iterator over the values of the specified variable.nwsIFetchTrysignature(.Object = "netWorkSpace"):
create a function that acts as a destructive iterator over the values of the specified variable.nwsIFindsignature(.Object = "netWorkSpace"):
create a function that acts as a non-destructive iterator over the values of the specified variable.nwsIFindTrysignature(.Object = "netWorkSpace"):
create a function that acts as a non-destructive iterator over the values of the specified variable.nwsClosesignature(.Object = "netWorkSpace"): close the connection to the NWS server.nwsDeclaresignature(.Object = "netWorkSpace"): declare the mode of a workspace variable.nwsDeleteVarsignature(.Object = "netWorkSpace"): delete a variable from a workspace.nwsListVarssignature(.Object = "netWorkSpace"): list all variables in a workspace.ServerObjectsignature(.Object = "netWorkSpace"): return the associated NwsServer object.nwsVariablesignature(.Object = "netWorkSpace"): create an Active Binding for a NetWorkSpace VariablenwsWsNamesignature(.Object = "netWorkSpace"): return the name of the workspace.
## Not run:
# To create a new workspace with the name "my space" use:
ws = netWorkSpace('my space')
# To create a new workspace called "my space2" on nws server
# running on port 8245 on machine zeus:
ws2 = netWorkSpace(wsName='my space2', serverHost='zeus', port=8245)
## End(Not run)