Re: [R] plot in win.metafile in nlme

2004-01-17 Thread Karl Knoblick
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

Re: [R] plot in win.metafile in nlme

2004-01-17 Thread Prof Brian Ripley
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

[R] plot in win.metafile in nlme

2004-01-08 Thread Karl Knoblick
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,

RE: [R] plot in win.metafile in nlme

2004-01-08 Thread Liaw, Andy
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)

Re: [R] plot in win.metafile in nlme

2004-01-08 Thread Prof Brian Ripley
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:

Re: [R] plot in win.metafile in nlme

2004-01-08 Thread Renaud Lancelot
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