[R] persiting complex R objects

Wolski wolski at molgen.mpg.de
Mon Sep 20 13:32:00 CEST 2004

'save' writes an external representation of R objects to the
     specified file.  The objects can be read back from the file at a
     later date by using the function 'load' (or 'data' in some cases).


   Reload the datasets written to a file with the function 'save'.

*********** REPLY SEPARATOR  ***********

On 9/20/2004 at 12:00 PM Richard Mott wrote:

>>>Is there a method to save a large and complex R object (either as a 
>>>binary or text file) so that it can be loaded and reused at a later 
>>>time? Specifically, I am creating large lists (several thousand 
>>>elements), each element of which is either a vector or a matrix (with ~ 
>>>2000 rows). The dimensions of the matrices are not all the same. My 
>>>ideal would be a set of functions of the form
>>>obj <- create() # computes  the object
>>>obj <- load(filename)
>>>Richard Mott       | Wellcome Trust Centre 
>>>tel 01865 287588   | for Human Genetics
>>>fax 01865 287697   | Roosevelt Drive, Oxford OX3 7BN
>>>R-help at stat.math.ethz.ch mailing list
>>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Dipl. bio-chem. Witold Eryk Wolski             @         MPI-Moleculare Genetic   
Ihnestrasse 63-73 14195 Berlin                'v'    
tel: 0049-30-83875219                        /   \       
mail: witek96 at users.sourceforge.net        ---W-W----    http://www.molgen.mpg.de/~wolski 
      wolski at molgen.mpg.de

More information about the R-help mailing list