DSConnection-class {DSI}R Documentation

DSConnection class

Description

This virtual class encapsulates the connection to a DataSHIELD-aware data repository, and it provides access to data assignments and aggregagtions etc.

Implementation note

Individual drivers are free to implement single or multiple simultaneous connections.

See Also

Other DS classes: DSDriver-class, DSObject-class, DSResult-class

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

Examples

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

## End(Not run)

[Package DSI version 1.5.0 Index]