Skip to contents

Internal function to upload an R sparse matrix into SciDB

Usage

.matrix2scidb.shim(
  db,
  X,
  name,
  rowChunkSize = 1000,
  colChunkSize = 1000,
  start = NULL,
  temp = FALSE,
  gc = TRUE,
  ...
)

Arguments

db

scidb database connection

X

a sparse matrix

name

(character) SciDB array name

start

(int) dimension start values

temp

(boolean) create a temporary SciDB array

gc

(boolean) set to TRUE to connect SciDB array to R's garbage collector

rowChuckSize, colChunkSize

(int) optional value passed to the aio_input operator see https://github.com/Paradigm4/accelerated_io_tools

Value

a scidb object