RData | R Documentation |
Saves and loads object containing informations extracted by extractoR.
SaveRData(rdata, datadir, subdir=".", format="rds", FUNC=saveRDS, FILTER=base::identity, ...) LoadRData(datadir, subdir=".", format="rds", FUNC=readRDS, FILTER=base::identity, ...) SaveCSV(rdata, datadir, subdir=".", FILTER=base::identity) LoadCSV(datadir, subdir=".", FILTER=base::identity) LoadFastCSV(datadir, subdir=".", FILTER=base::identity) SaveYAML(rdata, datadir, subdir=".", FILTER=base::identity) LoadYAML(datadir, subdir=".", FILTER=base::identity) SaveJSON(rdata, datadir, subdir=".", FILTER=base::identity) LoadJSON(datadir, subdir=".", FILTER=base::identity, ...)
rdata |
A list containing objects to be saved |
datadir |
Directory where to save/load objects |
subdir |
Subdirectory where to save/load objects |
format |
Format used to save/load |
FUNC |
Function used to read/write from file |
FILTER |
Function used to filter the files to read/write |
... |
Additional arguments to pass to |
SaveRData
saves elements each element of a list. By default
saves to RDS file.
LoadRData
reads all files and returns a list where all
elements are the objects contained into the data files. By default
loads RDS files.
SaveCSV
, SaveYAML
, SaveJSON
,
LoadCSV
, LoadYAML
and LoadJSON
call
SaveRData
and LoadRData
with parameters to save/load
data to CSV, YAML, JSON and Feather formats.
LoadFastCSV
loads data from CSV files using data.table
's
fread
function.
Maëlick Claes <himself@maelick.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.