powered by
Verify Opal resource exist and can be accessible for performing DataSHIELD operations.
# S4 method for OpalConnection dsHasResource(conn, resource)
TRUE if the resource exists.
OpalConnection-class class object.
OpalConnection-class
The fully qualified name of the resource.
if (FALSE) { con <- dbConnect(DSOpal::Opal(), "server1", "username", "password", "https://opal.example.org") dsHasResource(con, "test.CNSIM") dsDisconnect(con) }
Run the code above in your browser using DataLab