[R] One pdf file with plots and text output
Olivier Delaigue
olivier.delaigue at aix.cemagref.fr
Wed Oct 17 11:56:25 CEST 2007
You should try with type of command:
mtext(paste("Residuals:", summary(xlm)$residuals, "Coefficients:",
summary(xlm)$coefficients, etc..., sep ="\n"))
Olivier Delaigue
Rainer M Krug-2 wrote:
>
>
> It prints the summary, but in one line which is obviously to long to fit
> on one page
>
>>>
>>> Rainer M Krug-2 wrote:
>>>> 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
>
>
>
--
View this message in context: http://www.nabble.com/One-pdf-file-with-plots-and-text-output-tf4638970.html#a13250341
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list