dsDisconnect,OpalConnection-method | R Documentation |
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.
## S4 method for signature 'OpalConnection' dsDisconnect(conn, save = NULL)
conn |
|
save |
Save the DataSHIELD R session with provided ID (must be a character string). |
## Not run: con <- dsConnect(DSOpal::Opal(), "server1", "username", "password", "https://opal.example.org") con dsDisconnect(con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.