Learn R Programming

scidb (version 1.1-2)

scidbeval: scidbeval

Description

Evaluate a SciDB expression.

Usage

scidbeval(expr, eval=TRUE, name, gc)

Arguments

expr
An R expression that evaluates to a `scidb` or `scidbdf` object.
eval
If TRUE, return a `scidb` or `scidbdf` object that has been evaluated by the databas and stored to a SciDB array.
name
An optional character value that names the stored SciDB array.
gc
An optional logical value that, when TRUE, ties the result to the R garbage collector.

Value

  • Either a scidb or scidbdf object.

See Also

scidb

Examples

Run this code
A <- as.scidb(matrix(rnorm(25),5))
B <- A + A   # Returns a SciDB array promise (not evaluated yet)
C <- scidbeval(A + A) # Returns a SciDB array that has been evaluated and stored

Run the code above in your browser using DataLab