loadRDS: Load an RDS file and announce when it was created

View source: R/file_tools.R

loadRDSR Documentation

Load an RDS file and announce when it was created

Description

When you load a RDS file (serialised R objects e.g. a saved dataframe), this function announces when the file was created so that you can see whether you are using an up-to-date version. Often used in Rmarkdown documents.

Usage

loadRDS(...)

Arguments

...

(Character) Arguments to send to file.path(). You can provide a complete path as a single string, or incrementally build a path with many strings.

Value

An imported RDS file.

Authors

Examples

# data <- loadRDS("path", "to", "data.rds")

#> Loading data.rds
#> It was compiled on 2018-05-16 11:36:05.


DesiQuintans/desiderata documentation built on April 9, 2023, 5:43 a.m.