Overload of operator names<-.

Share:

Description

Overload of operator names<-.

Usage

1
2
## S3 replacement method for class 'largeList'
names(x) <- value

Arguments

x

A largeList object created by getList.

value

A character vector.

Details

It behaviours the same as a normal list object.

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
names(largelist_object) <- c("AA", "BB", "CC")