This function opens an
.Rdata file, lists the contents, and cleans up after itself.
lsdata(fnam = ".Rdata")
the name of the datafile to be examined.
The output of
ls applied to the objects loaded from the specified data file.
Carl Witthoft firstname.lastname@example.org
Various people have published similar code on Stack Overflow.
1 2 3 4