powered by
Check if a remote R session exists (not necessarily running and ready to accept R commands submissions).
# S4 method for OpalConnection dsHasSession(conn)
A logical indicating if a remote R session exists accessible through this connection.
An object that inherits from OpalConnection-class.
OpalConnection-class
if (FALSE) { con <- dsConnect(DSOpal::Opal(), "server1", username = "administrator", password = "password", url = "https://opal-demo.obiba.org") dsHasSession(con) dsDisconnect(con) }
Run the code above in your browser using DataLab