dsFetch | R Documentation |
Wait for the result to be available and fetch the result from a previous assignment or aggregation operation that may have been run asynchronously, in which case it is a one-shot call. When the assignment or aggregation operation was not asynchronous, the result is wrapped in the object and can be fetched multiple times.
\Sexpr[results=rd,stage=render]{DSI:::methods_as_rd("dsFetch")}dsFetch(res)
res |
An object inheriting from |
Other DSResult generics:
DSResult-class
,
dsGetInfo()
,
dsIsCompleted()
## Not run: con <- dsConnect(DSOpal::Opal(), "server1", username = "dsuser", password = "password", url = "https://opal-demo.obiba.org") dsAssignExpr(con, "C", as.symbol("c(1, 2, 3)")) res <- dsAggregate(con, as.symbol("length(C)")) length <- dsFetch(res) dsDisconnect(con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.