[R] Saving R objects

Nair, Murlidharan T mnair at iusb.edu
Mon Jul 24 03:36:08 CEST 2006


I am trying to find the best way to save the follwoing object I am creating
 
library(multcomp)
data(recovery)
Dcirec<-simint(minutes~blanket, data=recovery, conf.level=0.9, alternative="less")
 
I am probably not doing it the most efficient way I think. 
Here is what I am doing 
 
a<-print(Dcirec)
write(a,file="mult_test.dat", append=T)
or
save(Dcirec, file="mult.out")
 
Which is the best way to save it, so that I can access its contents outside the R environment?



More information about the R-help mailing list