Learn R Programming

miscset (version 1.0.0)

lload: Load RData Objects to a List

Description

Load multiple .RData files and return a (simplified) list.

Usage

lload(path = ".", pattern = ".RData", recursive = FALSE, simplify = TRUE, verbose = TRUE)

Arguments

path
Character string with the path, as used in list.files.
pattern
A regular expression for file name patterns, as used in list.files.
recursive
Logical. Search the path recursive.
simplify
Logical, unlist when there are only unique object names.
verbose
Logical. Print information on screen about loading process.

Value

Returns a list of length n, when there are n data files loaded. All objects are stored in sublists. Names are according to files, and names of sublists to objects per file. If simplified, the list is of length m, when there are m objects in total loaded.

See Also

load