big.factor: Create a big.factor object

Description Usage Arguments Details Value Author(s)

View source: R/big.factor.R

Description

Create a big.factor object that could be in shared memory or larger-than-RAM via big.char and big.matrix objects.

Usage

1
2
3
big.factor(length, maxchar = 8, init = NULL, levels = NULL,
  backingfile = NULL, backingpath = NULL, descriptorfile = NULL,
  binarydescriptor = FALSE, shared = TRUE)

Arguments

length

the vector length

maxchar

the maximum length of the strings, 8 by default

init

an optional string for initialization purposes

levels

a vector of character factor levels (labels), which may be truncated to maxchar length if necessary.

backingfile

optional name of binary memory-mapped file

backingpath

should be obvious, right?

descriptorfile

the descriptor file associated with the backingfile

binarydescriptor

see big.matrix

shared

see big.matrix

Details

There are real hazards here. I may not finish it now.

Value

a big.factor

Author(s)

Jay Emerson


jayemerson/big.char documentation built on May 18, 2019, 5:57 p.m.