saveRDS_ {gen5helper} | R Documentation |
saveRDS and return .data
Description
This function returns the object passed in, can be used for dplyr pipeline.
Usage
saveRDS_(.data, file, ...)
Arguments
.data |
object to be saved |
file |
filename to save |
... |
for saveRDS |
Value
whatever object passed in.
Examples
data <- data.frame(a=1, b=2, c=3)
data %>%
saveRDS_(file.path(tempdir(), "data.rds")) %>%
print()
[Package gen5helper version 1.0.1 Index]