| dsStateMessage | R Documentation |
Get a human-readable message that informs about the state of the remote R session. The primary use of this function is to inform the user about the session state process after it has been created in an asynchronous way.
dsStateMessage(session)
session |
An object inheriting from |
A character string
Other DSSession generics:
DSSession-class,
dsIsReady()
## Not run:
con <- dsConnect(DSOpal::Opal(), "server1",
username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
session <- dsSession(con, async = TRUE)
ready <- dsIsReady(session)
while (!ready) {
Sys.sleep(1)
ready <- dsIsReady(session)
cat(dsStateMessage(session), "\n")
}
dsDisconnect(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.