Re: [R] Odd graphics output problem

2010-09-16 Thread David Warren
Got it, thanks! On Thu, Sep 16, 2010 at 10:22 AM, RICHARD M. HEIBERGER wrote: > See the FAQ 7.22 Why do lattice/trellis graphics not work? > > The most likely reason is that you forgot to tell R to display the graph. > Lattice functions such as xyplot() create a graph object, but do not > display

Re: [R] Odd graphics output problem

2010-09-16 Thread RICHARD M. HEIBERGER
See the FAQ 7.22 Why do lattice/trellis graphics not work? The most likely reason is that you forgot to tell R to display the graph. Lattice functions such as xyplot() create a graph object, but do not display it (the same is true of *ggplot2*graphics, an

[R] Odd graphics output problem

2010-09-16 Thread David Warren
Hi all, I'm having trouble saving graphics output from within a loop, and I can't figure out a solution. I'd like to produce and save lots of individual plots for inspection, so I set up the following script: library( lattice ) wd = "~/Documents/PPM/" ppm = read.table( paste( wd, "ppm_summa