list.load {rlist} | R Documentation |
Load a list from file
Description
Load a list from file
Usage
list.load(
file,
type = tools::file_ext(file),
...,
guess = c("json", "yaml", "rds", "rdata", "xml"),
action = c("none", "merge", "ungroup"),
progress = length(file) >= 5L
)
Arguments
file |
a |
type |
The type of input which, by default, is determined by file extension. Currently supports RData, RDS, JSON, YAML. |
... |
Additional parameters passed to the loader function |
guess |
a |
action |
The post-processing action if multiple files are supplied. This parameter will be ignored if only a single file is supplied.
|
progress |
|
Examples
## Not run:
list.load('list.rds')
list.load('list.rdata')
list.load('list.yaml')
list.load('list.json')
## End(Not run)