make_empty_fvf: makes empty filevector object

Description Usage Arguments Value

View source: R/make_empty_fvf.R

Description

function to generate empty filevector object (and disk files)

Usage

1
2
make_empty_fvf(name, nvariables, nobservations, type = "DOUBLE",
  cachesizeMb = 64, readonly = FALSE)

Arguments

name

name fo the file to be assoiated with new object

nvariables

number of variables (R columns)

nobservations

number of observations (R rows)

type

data type of the object ("UNSIGNED_SHORT_INT", "SHORT_INT", "UNSIGNED_INT", "INT", "FLOAT", "DOUBLE", "CHAR", "UNSIGNED_CHAR")

cachesizeMb

what cache size to use for newly generated 'databel' object

readonly

whether to open new 'databel' in readonly mode

Value

databel object; also file is created in file system


DatABEL documentation built on May 30, 2017, 3:23 a.m.