Learn R Programming

DSOpal (version 1.5.0)

dsHasSession,OpalConnection-method: Check remote R session exists

Description

Check if a remote R session exists (not necessarily running and ready to accept R commands submissions).

Usage

# S4 method for OpalConnection
dsHasSession(conn)

Value

A logical indicating if a remote R session exists accessible through this connection.

Arguments

conn

An object that inherits from OpalConnection-class.

Examples

Run this code
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