save_rds: Save data in RDS files

Description Usage Arguments Details Value See Also

View source: R/save_data.R

Description

save_rds saves data in RDS files

Usage

1
save_rds(data.dir, pattern, prefix = "", file.ext = ".Rds")

Arguments

data.dir

A character string with the name of the directory containing the RDS files

pattern

A regular expression indicating the objects to be saved

prefix

An optional character string to prefix to the file name, usually a date (yyyy-mm)

file.ext

An optional character string, defaults to .Rds

Details

This function saves all designated data frames in RDS files within a given directory.

Value

An R object

See Also

saveRDS


bgulbis/dirr documentation built on Dec. 26, 2021, 6:40 a.m.