[R] problem with srt vector in xyplot {lattice}

Patrick Connolly p.connolly at hortresearch.co.nz
Tue Jan 28 21:42:24 CET 2003


On Fri, 24-Jan-2003 at 01:23PM -0600, Deepayan Sarkar wrote:

|> On Friday 24 January 2003 10:54 am, Wolfram Fischer - Z/I/M wrote:
|> > [ R 1.6.1 ]
|> >
|> > PROBLEM
|> >     The plot of the appended code does produce
|> >     a postscript file which is not interpretable
|> >     by gv under Linux.
|> 
|> The srt vector has several NA's. x11() does not draw these, which may or may 
|> not be what you want. You should be able to reproduce that in postscript() 
|> with an additional subset = !is.na(Solar.R) argument to xyplot().

Is there a simple reason why x11 doesn't require the !is.na() whereas
postscript does?  It took me an hour or more to work out what was
happening when I had a similar problem.

best


-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the R-help mailing list