Load an object from an .rds
serialized file in a given output_dir
, with programmatic naming.
Source: R/utils.R
read_rds_with_suffix.Rd
Load an object from an .rds
serialized file
in a given output_dir
, with programmatic naming.
Arguments
- object_basename
Base name for the object
.rds
, before anysuffix
or the file extension, as a string.- dir
Directory from which to load the object.
- suffix
Suffix to append to the
object_basename
before the file extension. Default""
(no suffix).- ext
Extension for the saved file, without the
.
. Defaultrds
.