On Thu, 19 Aug 2004, Harris A. Jaffee wrote:
> Is there a way to list the contents of a "save" file,
> i.e. the variable names, without load'ing from it first?
I believe not. But that's not too bad:
> x <- system.file(package="MASS", "data",
"hills.rda")
> print(load(x , new.env()))
[1] "hills"
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595