Learn R Programming

nws (version 1.7.0.1)

nwsMktempWs: Create a Temporary netWorkSpace

Description

Create a unique temporary netWorkSpace using the template string.

Usage

"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

Run this code
## Not run: 
# s <- nwsServer()
# tempWsName <- nwsMktempWs(s, 'temp_%d')
# ws <- nwsOpenWs(s, tempWsName)
# ## End(Not run)

Run the code above in your browser using DataLab