Skip to contents

Upload R data to SciDB

Usage

as.scidb(db, x, name, start = NULL, gc = NULL, ...)

Arguments

db

a scidb database connection returned from scidbconnect

x

an R data frame, raw value, Matrix, matrix, or vector object

name

a SciDB array name to use

start

starting SciDB integer coordinate index (does not apply to data frames)

gc

set to FALSE to disconnect the SciDB array from R's garbage collector

...

other options, see

Value

A scidb object

Note

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.

See also