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

dsIsCompleted,OpalResult-methodR Documentation

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 signature 'OpalResult'
dsIsCompleted(res)

Arguments

res

OpalResult-class object.

Value

A logical indicating the command completion.

Examples

## Not run: 
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)

## End(Not run)


datashield/DSOpal documentation built on Oct. 11, 2022, 2:49 a.m.