write_rds: Function to read and write R's RDS files with some helpful...

View source: R/write_rds.R

write_rdsR Documentation

Function to read and write R's RDS files with some helpful messaging.

Description

Function to read and write R's RDS files with some helpful messaging.

Usage

write_rds(x, file, compress = TRUE, file_only_print = FALSE, verbose = TRUE)

read_rds(file, file_only_print = FALSE, verbose = TRUE)

Arguments

x

An R object to write to disc.

file

File name of RDS file.

compress

Should the RDS file be written with compression?

file_only_print

If verbose is TRUE, should only the file name be printed without its path?

verbose

Should the function give messages? Note that the default is TRUE.

Value

Invisible x.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.