Skip to contents

Load an object from an .rds serialized file in a given output_dir, with programmatic naming.

Usage

read_rds_with_suffix(object_basename, dir, suffix = "", ext = "rds")

Arguments

object_basename

Base name for the object .rds, before any suffix 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 .. Default rds.

Value

The loaded object.