Re: [R] how to inspect content of save() file

2009-04-26 Thread Benno Pütz
Am 22.Apr.2009 um 21:45 schrieb Duncan Temple Lang: Hi Benno et al. I have had some code for reading RDA files via R functions and binary connections. It is available from http://www.omegahat.org/RDA or install.packages(RDA, repos = http://www.omegahat.org/R;,

Re: [R] how to inspect content of save file

2009-04-22 Thread Benno Pütz
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 pu...@mpipsykl.mpg.de: Is there a way of listing the variables contained in a file created with the save() command other than

Re: [R] how to inspect content of save file

2009-04-22 Thread Dimitri Liakhovitski
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 pu...@mpipsykl.mpg.de wrote: Am 21.Apr.2009 um 19:16 schrieb Dimitri Liakhovitski: Can't you just read in

Re: [R] how to inspect content of save() file

2009-04-22 Thread Benno Pütz
Am 22.Apr.2009 um 17:21 schrieb Dimitri Liakhovitski: 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? I could, but ... As save() writes a binary (and by default compressed) format that is

Re: [R] how to inspect content of save() file

2009-04-22 Thread Duncan Murdoch
On 4/22/2009 12:59 PM, Benno Pütz wrote: Am 22.Apr.2009 um 17:21 schrieb Dimitri Liakhovitski: 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? I could, but ... As save() writes a binary (and

Re: [R] how to inspect content of save() file

2009-04-22 Thread MPI
Duncan Murdoch wrote: On 4/22/2009 12:59 PM, Benno Pütz wrote: Am 22.Apr.2009 um 17:21 schrieb Dimitri Liakhovitski: 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? I could, but ... As

Re: [R] how to inspect content of save() file

2009-04-22 Thread Duncan Temple Lang
Hi Benno et al. I have had some code for reading RDA files via R functions and binary connections. It is available from http://www.omegahat.org/RDA or install.packages(RDA, repos = http://www.omegahat.org/R;, dep = TRUE) It could be made faster if there is

[R] how to inspect content of save file

2009-04-21 Thread Benno Pütz
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 ... Benno Pütz MPI of Psychiatry Tel: +49+(0)89-30622 222 Kraepelinstr. 2

Re: [R] how to inspect content of save file

2009-04-21 Thread 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 pu...@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