| dsSession | R Documentation |
Create a remote R session if none exists. If a remote R session already exists, it will be reused. Returns a logical indicating if a remote R session exists accessible through this connection.
dsSession(conn, async = TRUE)
conn |
An object that inherits from |
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. |
An object of class DSSession-class representing the remote R session.
Other DSConnection generics:
DSConnection-class,
dsAggregate(),
dsAssignExpr(),
dsAssignResource(),
dsAssignTable(),
dsDisconnect(),
dsGetInfo(),
dsHasResource(),
dsHasSession(),
dsHasTable(),
dsIsAsync(),
dsKeepAlive(),
dsListMethods(),
dsListPackages(),
dsListProfiles(),
dsListResources(),
dsListSymbols(),
dsListTables(),
dsListWorkspaces(),
dsRestoreWorkspace(),
dsRmSymbol(),
dsRmWorkspace(),
dsSaveWorkspace()
## Not run:
con <- dsConnect(DSOpal::Opal(), "server1",
username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
dsSession(con, async=TRUE)
dsDisconnect(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.