Re: [R] storage of lm objects in a database

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Fri 14 May 2004 - 01:16:01 EST


Message-id: <Pine.LNX.4.44.0405131613260.9702-100000@gannet.stats>

On Thu, 13 May 2004 Arne.Muller@aventis.com wrote:

> I'd like to use DBI to store lm objects in a database. I've to analyze
> many of linear models and I cannot store them in a single R-session (not
> enough memory). Also it'd be nice to have them persistent.
>
> Maybe it's possible to create a compact binary representation of the
> object (the kind of format created created by "save"), so that one
> doesn't need to write a conversion routine for these objects (or maybe
> there's already a conversion available for lm?). I assume that the data
> do not need to be analyzed with a any other software than R.

?serialize. It's exactly the "save" format.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:09 EST