lsdata: List all objects in an '.Rdata' file.

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function opens an .Rdata file, lists the contents, and cleans up after itself.

Usage

1
lsdata(fnam = ".Rdata")

Arguments

fnam

the name of the datafile to be examined.

Value

The output of ls applied to the objects loaded from the specified data file.

Author(s)

Carl Witthoft carl@witthoft.com

References

Various people have published similar code on Stack Overflow.

See Also

load, resave

Examples

1
2
3
4
xblue<-1
yblue<-2
save(xblue,yblue,file='blue.Rdata')
lsdata('blue.Rdata')


Search within the cgwtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.