Learn R Programming

DSOpal (version 1.4.0)

dsFetch,OpalResult-method: Fetch the result

Description

Fetch the DataSHIELD operation result.

Usage

# S4 method for OpalResult
dsFetch(res)

Value

TRUE if table exists.

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)"))
length <- dsFetch(res)
dsDisconnect(con)
}

Run the code above in your browser using DataLab