powered by
saves data to a CSV or RDS file
savedata(file, rds = FALSE)
a file name to save the current data to
whether to save the file to an RDS file (default: FALSE)
returns NULL, invisibly
# NOT RUN { use(cars, clear=TRUE) savedata(file.path(tempdir(), "cars.csv")) savedata(file.path(tempdir(), "cars.rds"), rds=TRUE) # }
Run the code above in your browser using DataLab