Skip to contents

Check if the remote R session is running and ready to receive R commands. Fails if the session does not exist.

Usage

opal.session_running(opal)

Arguments

opal

Opal object.

Value

A logical value.

Examples

if (FALSE) { # \dontrun{
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.session(o, wait = FALSE)
ready <- opal.session_running(o)
while(!ready) {
  Sys.sleep(1)
  ready <- opal.session_running(o)
  cat(".")
}
opal.session_get(o)
opal.logout(o)
} # }