View source: R/generic_connection.R
Upload | R Documentation |
Upload R data and store() it into a SciDB array. Return a scidb object wrapping the array.
Upload(db, payload, name = NULL, gc = TRUE, temp = FALSE, ...)
db |
a scidb database connection returned from |
payload |
an R data frame, raw value, Matrix, matrix, or vector object |
name |
a SciDB array name to store the payload into, or NULL to generate a unique name |
gc |
if TRUE, the SciDB array will be removed when the return value gets garbage-collected. Set to FALSE to disconnect the SciDB array from R's garbage collector, i.e. to persist the SciDB array beyond the lifetime of this session. |
temp |
(boolean) make the SciDB array a temporary array (only lasting for the lifetime of the session) |
... |
other options, see each subclass implementation |
start |
starting coordinate index, or NULL to start at zero on every dimension. Does not apply to data frames. |
A scidb
object
Supported R objects include data frames, scalars, vectors, dense matrices, and double-precision sparse matrices of class CsparseMatrix. Supported R scalar types and their resulting SciDB types are:
integer -> int32
logical -> int32
character -> string
double -> double
integer64 -> int64
raw -> binary
Date -> datetime
R factor values are converted to their corresponding character levels.
as.scidb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.