Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

save_rds

Robustly Saves an Object to RDS File Atomically


Description

Robustly Saves an Object to RDS File Atomically

Usage

save_rds(object, pathname, ...)

Arguments

object

The R object to be save.

pathname

RDS file to written.

...

(optional) Additional arguments passed to base::saveRDS().

Details

Uses base::saveRDS internally but writes the object atomically by first writing to a temporary file which is then renamed.

Value

(invisible) The pathname of the RDS written.


future

Unified Parallel and Distributed Processing in R for Everyone

v1.21.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.