Save the current session in a opal R workspace.

opal.workspace_save(opal, save = TRUE)

Arguments

opal

Opal object.

save

Save the workspace with given identifier (default is TRUE, current session ID if TRUE).

Value

The workspace ID (invisible)

See also

Other workspace functions: opal.workspace_restore(), opal.workspace_rm(), opal.workspaces()

Examples

if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# provide a workspace ID
opal.workspace_save(o, 'test')
# or use default one
id <- opal.workspace_save(o)
opal.logout(o)
}