Learn R Programming

DatABEL (version 0.9-6)

make_empty_fvf: makes empty filevector object

Description

function to generate empty filevector object (and disk files)

Usage

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