[R] Re: metafile copy and R 1.9.0, trellis, grid

About this list Date view Thread view Subject view Author view Attachment view

From: Patrick Giraudoux (patrick.giraudoux@univ-fcomte.fr)
Date: Sun 09 May 2004 - 00:48:41 EST


Message-id: <00c001c4350b$91f2b010$49ebfb51@PC728329681112>

OK. Deepayan sent me the copy of a chat on another list between John Fox, Duncan Murdoch and Paul Murrell. The bug in the gui.exe
looks like being reported with an example to turn it before he has been definetely fixed. Just try:

trellis.device("win.metafile", file="test.emf")
data(iris)
cloud(Sepal.Length ~ Petal.Length * Petal.Width | Species, data =
iris, screen = list(x = -90, y = 70), distance = .4, zoom = .6)
dev.off()

This set of commands create a file ("test.emf") in the working directory, write a cloud plot in the file and shut down the device.
The file "test.emf" can then be imported from any software reading metafiles. I tried it with my own xyplot trouble and got
absolutely good result. Very easy, even to me!!!

Thanks to them for the hint,

Patrick

----- Original Message -----
From: "Patrick Giraudoux" <patrick.giraudoux@univ-fcomte.fr>
To: "r-help" <r-help@stat.math.ethz.ch>
Sent: Saturday, May 08, 2004 3:45 PM
Subject: metafile copy and R 1.9.0

> Dear all,
>
>
> I'm running into problem in R-1.9.0 that hasn't happened with R-1.8.x
>
> If I make a plot with xyplot(), and use the menu to either save to a metafile or copy to clipboard as a metafile to export to eg
> Powerpoint, I can just copy a blank then. This does not occur with the classical plot(). Thus, I suppose that it may come from
> lattice or grid (going through the R-archives I checked that a similar trouble occur when R has been updated to 1.5).
>
> Has this trouble been met already and is there a way to turn it?
>
> Patrick Giraudoux
>
>
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST