[Rd] Re: [R] Printing Lattice Graphs from Windows (PR#6947)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Jun 6 22:42:50 CEST 2004
On Sun, 6 Jun 2004 spencer.graves at pdf.com wrote:
> I agree: It sounds like a bug, as you said, Irk, in that
> Rgui.exe cannot copy a metafile to the clipboard, at least under MS
> Windows 2000, 5.00.2195, Service Pack 3, even though Rterm.exe can.
Please send reproducible code to back that up. I don't believe it is
anything to do with Rterm.exe vs Rgui.exe, as the phenomenon seems to
occur randomly under either. I tested 1.9.0 and 1.9.1 alpha
Note also that this seems only to occur for grid and lattice plots, and
happens (when it happens) when copying to at least metafile and pdf
> Therefore, I'm including "r-bugs at biostat.ku.dk" in the list of addresses
> to this email.
> Spencer Graves
> Irk Eddelbuettel wrote:
> >On Sun, Jun 06, 2004 at 12:26:45PM -0700, Spencer Graves wrote:
> >> Using R 1.9.1 alpha via XEmacs with ESS under Windows 2000, I did
Which day's `R 1.9.1 alpha'?
> >>the following:
> >> library(lattice)
> >> xyplot(1~1)
> >> I got the plot in a separate window, from which I did File -> Copy
> >>to the clipboard -> as a metafile. I then changed to MS Word, and it
> >>pasted fine.
> >> When I started R 1.9.1 alpha directly (without XEmacs) and tried
> >>the same thing, I got a standard lattice plot. However, when I tried
> >>File -> Copy to the clipboard -> as a metafile, I got a blank plot when
> >>copying into MS Word. When I copied as a bitmap, it came through fine.
> >>However, I suspect that is unacceptable.
> >Not ok.
> >But isn't it a bug in the windows version of R if the Rgui.exe cannot copy
> >to the clipboard where Rterm.exe can?
> >I may be missing some subtle detail, though...
> R-devel at stat.math.ethz.ch mailing list
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel