dot-PreprocessArrayType: Given an R array, convert it into a suitable data type for...

.PreprocessArrayTypeR Documentation

Given an R array, convert it into a suitable data type for sending to SciDB. Return the converted R array, the SciDB data type for storing it, and the SciDB data type to use for loading values into the array.

Description

Given an R array, convert it into a suitable data type for sending to SciDB. Return the converted R array, the SciDB data type for storing it, and the SciDB data type to use for loading values into the array.

Usage

.PreprocessArrayType(X, type = NULL)

Arguments

X

the array to analyze

type

(optional) the name of the SciDB type to convert to

Value

a list with three named elements: * $array: The input array with any necessary conversions made, e.g. factors are converted to character vectors, and datetimes are turned to POSIX timestamps of type double. * $attr_type: the type of the attribute in SciDB * $load_type: the type used internally for loading the data into the SciDB array


Paradigm4/SciDBR documentation built on Nov. 9, 2023, 4:58 a.m.