nwsMktempWs {nws} | R Documentation |
Create a unique temporary netWorkSpace using the template string.
## S4 method for signature 'nwsServer': nwsMktempWs(.Object, wsNameTemplate)
.Object |
a nwsServer class object |
wsNameTemplate |
template for the netWorkSpace name |
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
.
## Not run: s <- nwsServer() tempWsName <- nwsMktempWs(s, 'temp_%d') ws <- nwsOpenWs(s, tempWsName) ## End(Not run)