Last chance! 50% off unlimited learning
Sale ends in
.Rdata
- type file.
Take an existing myfile.Rdata
data file and add the specified objects to it. This is achieved by opening the data file in a local environment, "dumping" the new objects into that environment, and re-saving everything to the same file name.
resave(..., list = character(), file)
Nothing is returned. This function is used solely to put objects into the file.
Names of objects to save.
A list of names of the objects to save. Can be used with or without any named arguments in ...
The name of the file to open and add items to.
Carl Witthoft carl@witthoft.com
## not run to avoid creating detritus
# foo<-1:4
# bar<-5:8
# save(foo,file='foo.Rdata')
# resave(bar,file='foo.Rdata')
# #check your work
# lsdata('foo.Rdata')
Run the code above in your browser using DataLab