Learn R Programming

largeList (version 0.3.1)

getList: 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.

Value

A R object of class "largeList"

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.

See Also

largeList

Examples

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

Run the code above in your browser using DataLab