save_RDSQS: Read RDS or QS format file

save_RDSQSR Documentation

Read RDS or QS format file

Description

Read RDS or QS format file

Usage

save_RDSQS(object, file, nthread = 5)

Arguments

object

the object to save

file

path to file with "rds" or "qs" file extension

nthread

numeric, number of threads for qs::qread

Value

R object loaded from file

Examples

path <- tempfile(fileext = ".qs")
# Simple numeric save
x <- 1
save_RDSQS(x, path)
read_RDSQS(path)
# Save a list
x <- list(a = 1, b = c(1,2,3))
save_RDSQS(x, path)
read_RDSQS(path)

JokingHero/ORFik documentation built on June 9, 2025, 8:46 p.m.