Re: [R] How to save a model in DB and retrieve It

2010-04-02 Thread Greg Snow
t.org] On Behalf Of Daniele Amberti > Sent: Friday, April 02, 2010 2:37 AM > To: r-help@r-project.org; r-sig...@stat.math.ethz.ch > Subject: [R] How to save a model in DB and retrieve It > > I'm wondering how to save an object (models like lm, loess, etc) in a > DB to retrieve a

[R] How to save a model in DB and retrieve It

2010-04-02 Thread Daniele Amberti
I'm wondering how to save an object (models like lm, loess, etc) in a DB to retrieve and use it afterwards, an example: wind_ms <- abs(rnorm(24*30)*4+8) air_kgm3 <- rnorm(24*30, 0.1)*0.1 + 1.1 wind_dg <- rnorm(24*30) * 360/7 ms <- c(0:25) kw_mm92 <- c(0,0,0,20,94,205,391,645,979,1375,1795,2000,20