Learn R Programming

largeList (version 0.3.1)

print.largeList: Overload of function print.

Description

If length of list dose not exceed getOption("max.print"), all elements will be printed, otherwise, elements beyond getOption("max.print") will be omitted.

Usage

# S3 method for largeList
print(x, ...)

Arguments

x
A largeList object created by getList.
...
arguments to be passed.

See Also

largeList

Examples

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

Run the code above in your browser using DataLab