dsDisconnect-OpalConnection-method: Disconnect from a Opal server

dsDisconnect,OpalConnection-methodR Documentation

Disconnect from a Opal server

Description

Disconnect from a Opal server and release all R resources. If a workspace ID is provided, the DataSHIELD R session will be saved before being destroyed.

Usage

## S4 method for signature 'OpalConnection'
dsDisconnect(conn, save = NULL)

Arguments

conn

OpalConnection-class class object

save

Save the DataSHIELD R session with provided ID (must be a character string).

Examples

## Not run: 
con <- dsConnect(DSOpal::Opal(), "server1", "username", "password", "https://opal.example.org")
con
dsDisconnect(con)

## End(Not run)


datashield/DSOpal documentation built on Oct. 11, 2022, 2:49 a.m.