Learn R Programming

scidb (version 1.2-0)

scidbeval: scidbeval

Description

Evaluate a SciDB expression.

Usage

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

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.
temp
An optional logical value that, when TRUE, evaluates to a special SciDB temporary array (requires SciDB versions equal to or greater than 14.8).

Value

Either a scidb or scidbdf object.

See Also

scidb

Examples

Run this code
## Not run: 
# 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
# ## End(Not run)

Run the code above in your browser using DataLab