[R] persiting complex R objects

Ingmar Visser i.visser at uva.nl
Mon Sep 20 13:17:40 CEST 2004

did you look at ?save ?load ???

On 9/20/04 1:00 PM, "Richard Mott" <rmott at well.ox.ac.uk> 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
> save(obj,filename)
> obj <- load(filename)

More information about the R-help mailing list