Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-26 Thread Friedrich Leisch
On Fri, 25 Aug 2006 11:05:48 -0700 (PDT), Thomas Harte (TH) wrote: --- Prof Brian Ripley [EMAIL PROTECTED] wrote: savePlot is just an internal version of dev.copy, part of the support for the menus on the windows() graphics device. It is described in `An Introduction to R' (the

Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-26 Thread Thomas Harte
--- Friedrich Leisch [EMAIL PROTECTED] wrote: On Fri, 25 Aug 2006 11:05:48 -0700 (PDT), Thomas Harte (TH) wrote: i can get pretty close to this in linux by writing a function to save the plot to a pdf device: label=first.ar.1, results=hide= # no savePlot in Linux ... so

Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-26 Thread Friedrich Leisch
On Sat, 26 Aug 2006 05:38:58 -0700 (PDT), Thomas Harte (TH) wrote: hallo, friedrich, and thanks for your reply. if i Stangle your code i get: sp- make.ar.1(alpha=.5, n=800) plot(sp, type=l, col=blue) whereas if i Stangle my code, i get: width- 20;

Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-26 Thread Thomas Harte
--- Friedrich Leisch [EMAIL PROTECTED] wrote: On Sat, 26 Aug 2006 05:38:58 -0700 (PDT), Thomas Harte (TH) wrote: hallo, friedrich, and thanks for your reply. if i Stangle your code i get: sp- make.ar.1(alpha=.5, n=800) plot(sp, type=l, col=blue)

Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-25 Thread Thomas Harte
--- Prof Brian Ripley [EMAIL PROTECTED] wrote: savePlot is just an internal version of dev.copy, part of the support for the menus on the windows() graphics device. It is described in `An Introduction to R' (the most basic R manual). the most basic R manual doesn't quite answer my

Re: [R] issues with Sweave and inclusion of graphics in a document

2006-08-20 Thread Prof Brian Ripley
savePlot is just an internal version of dev.copy, part of the support for the menus on the windows() graphics device. It is described in `An Introduction to R' (the most basic R manual). On Sat, 19 Aug 2006, Thomas Harte wrote: the problem is a little hard to explain; the .Rnw files (below)

[R] issues with Sweave and inclusion of graphics in a document

2006-08-19 Thread Thomas Harte
the problem is a little hard to explain; the .Rnw files (below) probably do a better job, but here goes ... Sweave doesn't like it when i size a graphical device in a code chunk using either, e.g.: windows(width=20, height=5) in Windows, or, e.g. x11(width=20, height=5) under