[[.largeList {largeList}R Documentation

Overload of operator [[]].

Description

Overload of operator [[]].

Usage

## S3 method for class 'largeList'
x[[index = NULL]]

Arguments

x

A largeList object created by getList.

index

A numeric or character vector of length 1.

Details

It behaviours the same as a normal list object.

Value

A R object.

See Also

largeList

Examples

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

[Package largeList version 0.3.1 Index]