Learn R Programming

caroline (version 0.5.0)

delist: Convert a named list into new objects in memory.

Description

This function uses the 'assign' function to turn each object element of the list into a new object in the global environment.

Usage

delist(L)

Arguments

L
list of named objects

Value

  • new variables in the global environment

See Also

assign

Examples

Run this code
L <- list(a=c(12,123,1), b='alfalfa', c=c('a','b','c'))
delist(L)
print(a)
print(b)
print(c)

Run the code above in your browser using DataLab