powered by
.Rdata
This function opens an .Rdata file, lists the contents, and cleans up after itself.
lsdata(fnam = ".Rdata")
The output of ls applied to the objects loaded from the specified data file.
ls
the name of the datafile to be examined.
Carl Witthoft carl@witthoft.com
Various people have published similar code on Stack Overflow.
load, resave
load
resave
##not run because of complaints about detritus # xblue<-1 # yblue<-2 # save(xblue,yblue,file='blue.Rdata') # lsdata('blue.Rdata')
Run the code above in your browser using DataLab