getList {largeList}R Documentation

Create a R object and bind with file.

Description

Create a R object and bind with file.

Usage

getList(file, compress = TRUE, verbose = FALSE, truncate = FALSE)

Arguments

file

Name of file

compress

TRUE/FALSE Use compression for elements or not.

verbose

TRUE/FALSE Print extra info

truncate

TRUE/FALSE Truncate the file or not.

Details

Create a R object of class "largeList" and bind it with a file. If the file exists, the R object will be bound to the file. If the file does not exist or truncate == TRUE, an empty list will be written into the given file and then bind it with R object. Later the R object can be used as a normal list and all the manipulation will be done within the file binding to it.

Value

A R object of class "largeList"

See Also

largeList

Examples

largelist_object <- getList("example.llo", verbose = TRUE, truncate = TRUE)

[Package largeList version 0.3.1 Index]