Learn R Programming

largeList (version 0.3.1)

names.largeList: Overload of function names.

Description

Get the names of elements stored in list file.

Usage

# S3 method for largeList
names(x)

Arguments

x
A largeList object created by getList.

Value

A character vector.

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
names(largelist_object) ## get c("A", "B", "C")

Run the code above in your browser using DataLab