[R] how to inspect content of save file

Dimitri Liakhovitski ld7631 at gmail.com
Wed Apr 22 17:21:03 CEST 2009

Why do you use save()?
Can't you write out data frame(s) with your variables in a .txt or a
.csv file and then read in just the variable names?

On Wed, Apr 22, 2009 at 5:12 AM, Benno Pütz <puetz at mpipsykl.mpg.de> wrote:
> Am 21.Apr.2009 um 19:16 schrieb Dimitri Liakhovitski:
> Can't you just read in the very first line of the file (that contains
> names)?
> Dimitri
> 2009/4/21 Benno Pütz <puetz at mpipsykl.mpg.de>:
> Is there a way of listing the variables contained in a file created
> with the save() command other than load()ing the file?
> I have a couple of rather larger files that I would rather not load ...
> As save() writes a binary (and by default compressed) format that is not
> directly possible - at least I haven't figured out how. That is why I
> addressed the list with my question.
> Also save allows a list of variables to be included in one file.
> Benno

Dimitri Liakhovitski
MarketTools, Inc.
Dimitri.Liakhovitski at markettools.com

More information about the R-help mailing list