Description Objects from the Class Slots Methods Examples
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, ...).
wsNamename of the netWorkSpace to be created.
serverHosthost name of the server this netWorkSpace will be connected to. By default, local machine is used.
portport number of the server this netWorkSpace will be connected to. Default port number is 8765.
useUsea logical value indicating whether ownership will be claimed for this netWorkSpace. By default,
useUse=FALSE, which means ownership will be claimed.
serverWrapa netWorkSpaces server object. Reuse an existing server connection, instead of creating a new server connection.
cookieProtocolCurrently not used.
serverObject of class "nwsServer" representation of the server that this netWorkSpace connects to.
wsNameObject of class "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 Variable
nwsWsNamesignature(.Object = "netWorkSpace"): return the name of the workspace.
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.