On Thu, 13 May 2004 [EMAIL PROTECTED] 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, [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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