Hi

I create one pdf file with plots via pdf() and one text file with text 
via sink() that works very nice. But I would prefer to have one pdf file 
with plots and the text which I store in the te=xt file via sink(). I.e.

x.lm<-lm(...)
pdf()
plot(x.lm)
NOW THE TEXT OF summary(xlm) IN THE PDF FILE
dev.off()

Is this possible or is there a different format which I could use?

Rainer

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to