Learn R Programming

DSOpal (version 1.4.0)

dsIsCompleted,OpalResult-method: Get whether the operation is completed

Description

Get the information about a command (if still available) and return TRUE if the command was completed successfully or not. Always TRUE for synchronous operations.

Usage

# S4 method for OpalResult
dsIsCompleted(res)

Value

A logical indicating the command completion.

Arguments

res

OpalResult-class object.

Examples

Run this code
if (FALSE) {
con <- dbConnect(DSOpal::Opal(), "server1",
  "username", "password", "https://opal.example.org")
dsAssignExpr(con, "C", as.symbol("c(1, 2, 3)"))
res <- dsAggregate(con, as.symbol("length(C)"))
dsIsCompleted(res)
dsDisconnect(con)
}

Run the code above in your browser using DataLab