dsAssignResource,OpalConnection-method | R Documentation |
Assign a Opal resource in the DataSHIELD R session.
## S4 method for signature 'OpalConnection' dsAssignResource(conn, symbol, resource, async = TRUE)
conn |
|
symbol |
Name of the R symbol. |
resource |
Fully qualified name of a resource in Opal. |
async |
Whether the result of the call should be retrieved asynchronously. When TRUE (default) the calls are parallelized over the connections, when the connection supports that feature, with an extra overhead of requests. |
A OpalResult-class
object.
## Not run: con <- dbConnect(DSOpal::Opal(), "server1", "username", "password", "https://opal.example.org") dsAssignResource(con, "D", "test.CNSIM") dsDisconnect(con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.