cash-.largeList: Overload of operator $.

Description Usage Arguments Details Value See Also Examples

Description

Overload of operator $.

Usage

1
2
## S3 method for class 'largeList'
x$index

Arguments

x

A largeList object created by getList.

index

A character vector of length 1.

Details

It behaviours different from the list object in R. Here x$name is equivalent to x[["name"]], no partial matching.

Value

A R object.

See Also

[[.largeList largeList

Examples

1
2
3
4
largelist_object <- getList("example.llo", truncate = TRUE)
largelist_object[[]] <- list("AA" = 1, "B" = 2, "C" = 3)  ## assign list to the list file
largelist_object$B ## get 2
largelist_object$A ## get NULL, not 1 from "AA" since no partial matching happens.

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