dsSaveWorkspace: Save the DataSHIELD R session in a workspace

dsSaveWorkspaceR Documentation

Save the DataSHIELD R session in a workspace

Description

Save the DataSHIELD R session in a workspace on the remote data repository.

\Sexpr[results=rd,stage=render]{DSI:::methods_as_rd("dsSaveWorkspace")}

Usage

dsSaveWorkspace(conn, name)

Arguments

conn

An object that inherits from DSConnection-class.

name

Name of the workspace

See Also

Other DSConnection generics: DSConnection-class, dsAggregate(), dsAssignExpr(), dsAssignResource(), dsAssignTable(), dsDisconnect(), dsGetInfo(), dsHasResource(), dsHasTable(), dsIsAsync(), dsKeepAlive(), dsListMethods(), dsListPackages(), dsListProfiles(), dsListResources(), dsListSymbols(), dsListTables(), dsListWorkspaces(), dsRestoreWorkspace(), dsRmSymbol(), dsRmWorkspace()

Examples

## Not run: 
con <- dsConnect(DSOpal::Opal(), "server1",
  username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
dsSaveWorkspace(con, "foo")
dsListWorkspaces(con)
dsDisconnect(con)

## End(Not run)

DSI documentation built on Oct. 6, 2022, 9:06 a.m.