My problem was solved by using
trellis.device(win.metafile,file=Loblolly.wmf,
color=F)
instead of win.metafile(Loblolly.wmf).
(other answers helped also)
(What I found for getting similiar plots as postscript
was color=F in the trellis.device(...) command)
Thanks to all!
Karl.
BTW
On Sat, 17 Jan 2004, Karl Knoblick wrote:
My problem was solved by using
trellis.device(win.metafile,file=Loblolly.wmf,
color=F)
instead of win.metafile(Loblolly.wmf).
(other answers helped also)
(What I found for getting similiar plots as postscript
was color=F in the
Hallo!
I want to plot grouped data in a wmf-file. The
following example gives an error:
library(lattice)
library(nlme)
data(Loblolly) # example data from nlme
win.metafile(Loblolly.wmf)
plot(Loblolly)
dev.off()
After the plot(Loblolly) the following error occurs:
Error in get(x, envir, mode,
This seems to be a rather common error: Use trellis.device(win.metafile,
file=Loblolly.wmf) instead of calling win.metafile() directly.
HTH,
Andy
From: Karl Knoblick
Hallo!
I want to plot grouped data in a wmf-file. The
following example gives an error:
library(lattice)
What is your version of R, nlme and lattice (and have you run
update.packages() recently)?
This works correctly for me in the current versions.
On Thu, 8 Jan 2004, Karl Knoblick wrote:
Hallo!
I want to plot grouped data in a wmf-file. The
following example gives an error:
Karl Knoblick a écrit :
Hallo!
I want to plot grouped data in a wmf-file. The
following example gives an error:
library(lattice)
library(nlme)
data(Loblolly) # example data from nlme
win.metafile(Loblolly.wmf)
plot(Loblolly)
dev.off()
After the plot(Loblolly) the following error occurs:
Error