Saves dataset to one or more files.
saveDatasets(datasets, path = getwd(), file, chunkSize)
filename or vector of filenames.
dataset list generated by one of the generate functions.
path to save the datasets to.
filename to use, without extension.
if provided, datasets are split into chunkSize
chunks and then saved.
Manuel Koller
The file will be saved to path/filename.Rdata
.
If chunkSize
is not missing, the filename is interpreted as format
specifier and passed onto sprintf
. One argument is given, the
index of the chunk.