[R] persiting complex R objects

2004-09-20 Thread Richard Mott
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

Re: [R] persiting complex R objects

2004-09-20 Thread Sean Davis
: [R] persiting complex R objects 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

Re: [R] persiting complex R objects

2004-09-20 Thread Ingmar Visser
did you look at ?save ?load ??? ingmar On 9/20/04 1:00 PM, Richard Mott [EMAIL PROTECTED] 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

Re: [R] persiting complex R objects

2004-09-20 Thread Peter Wolf
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 ~

Re: [R] persiting complex R objects

2004-09-20 Thread Richard Mott
Thanks for the help; I feel rather foolish as I had not realised that the functions save() and load() already existed. They are not mentioned in the R docs (unless you know they exist and so can query them by name - the general docs describing how to manipulate R objects don't mention them) -

Re: [R] persiting complex R objects

2004-09-20 Thread Wolski
Hi! ?save '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). ?load Reload the datasets written to a file with the function 'save'. /E