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
: [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
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
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
~
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)
-
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