This reports for each of the files produced by
save the size,
if it was saved in ASCII or XDR binary format, and if it was
compressed (and if so in what format). Usually such files have extension
the name of the function.
checkRdaFiles(paths) resaveRdaFiles(paths, compress = c("auto", "gzip", "bzip2", "xz"), compression_level)
- A character vector of paths to
savefiles. If this specifies a single directory, it is taken to refer to all
.RDatafiles in that directory.
- compress, compression_level
- type and level of compression: see
save. Values of
compresscan be abbreviated.
compress = "auto" asks R to choose the compression and ignores
compression_level. It will try
and if the
"gzip" compressed size is over 10Kb,
choose the smallest compressed file (but with a 10% bias towards
"gzip"). This can be slow.
checkRdaFiles, a data frame with rows names
NAif the file does not exist.
NAif the format is not that of an R save file.
"unknown"(which means that if this is an R save file it is from a later version of R).
1for very old files, and
NAfor other files.