length.largeList: Overload of function length.

Description Usage Arguments Value See Also Examples

View source: R/operatorOverload.R

Description

Get the length of list stored in file.

Usage

1
2
## S3 method for class 'largeList'
length(x)

Arguments

x

A largeList object created by getList.

Value

An integer.

See Also

largeList

Examples

1
2
3
largelist_object <- getList("example.llo", truncate = TRUE)
largelist_object[[]] <- list("A" = 1, "B" = 2, "C" = 3)  ## assign list to the list file
length(largelist_object) ## get 3

largeList documentation built on May 1, 2019, 10:55 p.m.