Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
Dirk Eddelbuettel wrote: > On 17 October 2007 at 10:44, Rainer M Krug wrote: > | 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

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Dirk Eddelbuettel
On 17 October 2007 at 10:44, Rainer M Krug wrote: | 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(...) | pd

Re: [R] One pdf file with plots and text output

2007-10-17 Thread tom sgouros
what they do not say. ~William W. Watt > > A statistical analysis, properly conducted, is a delicate dissection of > > uncertainties, a surgery of suppositions. ~M.J.Moroney > > > > > > > > > >> -----Oorspronkelijk bericht- > >> Van: Rainer M Krug [mailto:[EMAIL PR

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Romain Francois
;> Verzonden: woensdag 17 oktober 2007 14:17 >> Aan: ONKELINX, Thierry >> CC: r-help >> Onderwerp: Re: [R] One pdf file with plots and text output >> >> I am getting somewhere - but running system("pdflatex >> GrowthAll") fails, as it does not fi

Re: [R] One pdf file with plots and text output

2007-10-17 Thread ONKELINX, Thierry
> Verzonden: woensdag 17 oktober 2007 14:17 > Aan: ONKELINX, Thierry > CC: r-help > Onderwerp: Re: [R] One pdf file with plots and text output > > I am getting somewhere - but running system("pdflatex > GrowthAll") fails, as it does not find sweave.sty. I already &g

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
tics say until you have carefully > considered what they do not say. ~William W. Watt > A statistical analysis, properly conducted, is a delicate dissection of > uncertainties, a surgery of suppositions. ~M.J.Moroney > > > >> -----Oorspronkelijk bericht- >> Van: R

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M. Krug
Olivier Delaigue wrote: > You should try with type of command: > > mtext(paste("Residuals:", summary(xlm)$residuals, "Coefficients:", > summary(xlm)$coefficients, etc..., sep ="\n")) I am sure this would work, but I would like to have something without to much additional coding. Sweave seems to

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
t say. ~William W. Watt > A statistical analysis, properly conducted, is a delicate dissection of > uncertainties, a surgery of suppositions. ~M.J.Moroney > > > >> -----Oorspronkelijk bericht- >> Van: Rainer M Krug [mailto:[EMAIL PROTECTED] >> Verzon

Re: [R] One pdf file with plots and text output

2007-10-17 Thread ONKELINX, Thierry
:28 > Aan: ONKELINX, Thierry > CC: Prof Brian Ripley; r-help > Onderwerp: Re: [R] One pdf file with plots and text output > > ONKELINX, Thierry wrote: > > I use Sweave for this kind of purposes. > > I was thinking about Sweave as well, but I don't understand > h

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Olivier Delaigue
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 > >>> >

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
Rainer M. Krug wrote: > Olivier Delaigue * wrote: >> Maybe with: >> >>> print(plot.new()) >>> mtext(summary(xlm)) > > Thanks Olivier - that sounds like an easy approach - I'll try itr out > and report back. It prints the summary, but in one line which is obviously to long to fit on one page >

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M. Krug
Olivier Delaigue * wrote: > Maybe with: > >> print(plot.new()) >> mtext(summary(xlm)) Thanks Olivier - that sounds like an easy approach - I'll try itr out and report back. Rainer > > Regards, > > Olivier Delaigue > > > Rainer M Krug-2 wrote: >> Hi >> >> I create one pdf file with plots

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
gt;> [mailto:[EMAIL PROTECTED] Namens Rainer M Krug >> Verzonden: woensdag 17 oktober 2007 11:02 >> Aan: Prof Brian Ripley >> CC: r-help >> Onderwerp: Re: [R] One pdf file with plots and text output >> >> Prof Brian Ripley wrote: >>> On Wed, 17 Oct 2007,

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Olivier Delaigue *
Maybe with: > print(plot.new()) > mtext(summary(xlm)) Regards, Olivier Delaigue 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 whi

Re: [R] One pdf file with plots and text output

2007-10-17 Thread ONKELINX, Thierry
gt; Onderwerp: Re: [R] One pdf file with plots and text output > > Prof Brian Ripley wrote: > > On Wed, 17 Oct 2007, Rainer M Krug wrote: > > > >> Hi > >> > >> I create one pdf file with plots via pdf() and one text file with > >> text via si

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
Prof Brian Ripley wrote: > On Wed, 17 Oct 2007, Rainer M Krug 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(

Re: [R] One pdf file with plots and text output

2007-10-17 Thread Prof Brian Ripley
On Wed, 17 Oct 2007, Rainer M Krug 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()

[R] One pdf file with plots and text output

2007-10-17 Thread Rainer M Krug
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