Bahoo
2005-Jul-25 17:45 UTC
[R] How to save the object of linear regression in file and load it later
Hi, I am using locfit for regression. After I do out = locfit(...), I want to save "out" in a file, and load it later for prediction. How should I do it? Thanks!
Sean O'Riordain
2005-Jul-28 09:37 UTC
[R] How to save the object of linear regression in file and load it later
Hi Bahoo! I've found the R/Rpad Reference Card quite good at helping me find this sort of information... i.e. towards the bottom of the first column of the first page it says... save(file,...) saves the specified ojects (...) in the XDR platform independent binary format if I then say ?save it tells me that ?load is what you're looking for at another date... cheers! Sean On 25/07/05, Bahoo <b83503104 at yahoo.com> wrote:> Hi, > > I am using locfit for regression. > After I do > out = locfit(...), > I want to save "out" in a file, and load it later for > prediction. > > How should I do it? Thanks! > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >