converts matrix to 'databel'

Description

Converts regular R matrix to databel object. This is the procedure used by "as" converting to DatABEL objects, in which case a temporary file name is created

Usage

1
2
matrix2databel(from, filename, cachesizeMb = 64, type = "DOUBLE",
  readonly = FALSE)

Arguments

from

R matrix

filename

which FILEVECTOR BASE file name to use

cachesizeMb

cache size to be used when accessing the object

type

type of data to use for storage ("DOUBLE", "FLOAT", "INT", "UNSIGNED_INT", "UNSIGNED_SHORT_INT", "SHORT_INT", "CHAR", "UNSIGNED_CHAR")

readonly

whether to generate new 'databel' in read only mode

Value

object of class databel

Author(s)

Yurii Aulchenko