Re: [R] saving loess fit

2009-06-11 Thread Henrik Bengtsson
See save() and load(), but the following might be easier because it does not mess with your existing object names: library(R.utils) saveObject(pv.lo, "myLoessFit.Rbin") pv.lo <- loadObject("myLoessFit.Rbin") foo <- loadObject("myLoessFit.Rbin") print(identical(pv.lo, foo)) # => TRUE /Henrik O

[R] saving loess fit

2009-06-11 Thread Lana Schaffer
Hi, pv.lo <- loess(Affy ~ DABG, DA, span=0.2, degree=2, family="symmetric") I would like to know how to save the output from the loess fit so that I can read it again into another session of R. Can someone help me figure this out? Lana Schaffer Biostatistics/Informatics The Scripps Research I