saving model object in R
code:R
saveRDS(object, file = "my_data.rds")
# Restore the object
readRDS(file = "my_data.rds")