readRDSfile
ReadRDSfile is not a standard function in base R. In the R programming language, the canonical way to read a single object from a file created with saveRDS is readRDS. Some packages or project code may introduce a function named readRDSfile, typically as a wrapper or alias to readRDS, or as a convenience function to emphasize file-based reading.
When present, readRDSfile generally returns a single R object and accepts the same core arguments as readRDS,
Important distinctions include the format and scope. readRDSfile, like readRDS, reads data saved with saveRDS and
Examples of usage (assuming readRDSfile is defined similarly to readRDS): obj <- readRDSfile("model.rds"). See also readRDS, saveRDS,