| dsHasResource | R Documentation |
Check if a remote resource reference exists in the data repository. Returns a logical indicating the existence of a remote resource accessible through this connection.
dsHasResource(conn, resource)
conn |
An object that inherits from |
resource |
the resource fully qualified name |
A logical indicating if the resource exists.
Other DSConnection generics:
DSConnection-class,
dsAggregate(),
dsAssignExpr(),
dsAssignResource(),
dsAssignTable(),
dsDisconnect(),
dsGetInfo(),
dsHasSession(),
dsHasTable(),
dsIsAsync(),
dsKeepAlive(),
dsListMethods(),
dsListPackages(),
dsListProfiles(),
dsListResources(),
dsListSymbols(),
dsListTables(),
dsListWorkspaces(),
dsRestoreWorkspace(),
dsRmSymbol(),
dsRmWorkspace(),
dsSaveWorkspace(),
dsSession()
## Not run:
con <- dsConnect(DSOpal::Opal(), "server1",
username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
dsHasResource(con, "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.