how to write rds code example
Example: save rds object r
#file name requires extension .rds
saveRDS(object, file = "", ascii = FALSE, version = NULL,
compress = TRUE, refhook = NULL)
#For reading use
readRDS(file, refhook = NULL)
#file name requires extension .rds
saveRDS(object, file = "", ascii = FALSE, version = NULL,
compress = TRUE, refhook = NULL)
#For reading use
readRDS(file, refhook = NULL)