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 .rda or .RData, hence the name of the function.
checkRdaFiles(paths)
resaveRdaFiles(paths, compress = c("auto", "gzip", "bzip2", "xz"), compression_level)save files. If
this specifies a single directory, it is taken to refer to all
.rda and .RData files in that directory.save. Values of compress can be abbreviated.checkRdaFiles, a data frame with rows names paths
and columns
NA if the file does
not exist.NA if the
format is not that of an R save file."gzip",
"bzip2", "xz", "none" or "unknown" (which
means that if this is an R save file it is from a later version of
R).2
but 1 for very old files, and NA for other files.compress = "auto" asks R to choose the compression and ignores
compression_level. It will try "gzip", "bzip2"
and if the "gzip" compressed size is over 10Kb, "xz" and
choose the smallest compressed file (but with a 10% bias towards
"gzip"). This can be slow.