if (FALSE) {
# Upload RDS files to a Dataset
local_dir <- file.path(tempdir(), "to_upload")
dir.create(local_dir)
saveRDS(iris, file.path(local_dir, "iris.rds"))
saveRDS(Titanic, file.path(local_dir, "Titanic.rds"))
datasets.upload_files(local_dir, "my_output")
}
Run the code above in your browser using DataLab