nwsMktempWs {nws} | R Documentation |
Create a Temporary netWorkSpace
Description
Create a unique temporary netWorkSpace using the template string.
Usage
## S4 method for signature 'nwsServer'
nwsMktempWs(.Object, wsNameTemplate)
Arguments
.Object |
a nwsServer class object |
wsNameTemplate |
template for the netWorkSpace name |
Details
nwsMktempWs(nwss, wsNameTemplate)
returns the name of a temporary space
created on the netWorkSpaces server.
The template should contain a %d
-like construct which will be
replaced by a serial counter maintained by the server to generate
a unique new netWorkSpace name.
The user must then invoke nwsOpenWs
or nwsUseWs
with this name to create an object to acceess this workspace.
WsNameTemplate defaults to __Rws__%010d
.
Examples
## Not run:
s <- nwsServer()
tempWsName <- nwsMktempWs(s, 'temp_%d')
ws <- nwsOpenWs(s, tempWsName)
## End(Not run)
[Package nws version 1.7.0.1 Index]