From deepayansarkar@yahoo.com  Wed Oct 23 20:16:55 2002
From: deepayansarkar@yahoo.com (Deepayan Sarkar)
Date: Wed, 23 Oct 2002 12:16:55 -0700 (PDT)
Subject: New version of lattice (possible incompatibility with old code)
Message-ID: <20021023191655.89793.qmail@web13902.mail.yahoo.com>


Hi,

there's a new version of lattice on CRAN (0.6-5) which will probably ship with
R 1.6.1. It has a minor change in API which might affect packages using lattice
-- only if they define panel/prepanel functions of their own. In previous
versions, it was implicitly assumed that panel (and prepanel) functions would
only be supplied _numeric_ x,y,z arguments, although I don't remember this as
being documented. This has changed in the new version (mostly to allow
rudimentary POSIXt labelling and other possible improvements in future). This
is actually used only in prepanel functions right now, and all predefined panel
functions in lattice have only been modified to have 

x <- as.numeric(x)

etc in the very beginning. This should fix any problems elsewhere as well.

If prepanel functions need to be redefined, prepanel.default.xyplot and
prepanel.default.bwplot should serve as templates. Lines like 

x <- as.numeric(x) 

should revert to old behaviour here too.

Deepayan


__________________________________________________

 the expert host your web site

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


New version of lattice (possible incompatibility with old code)
Deepayan Sarkar