[Rd] Buggy trellis.focus() with xyplot ?

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Nov 20 06:30:07 CET 2008


On 11/19/08, Daniel Kornhauser <dkor at northwestern.edu> wrote:
> Thanks a lot for taking this on guys !
>
>  Some more background in case you are interested:
>
> I have almost a working version of focus for selecting a panel with mouse
> over in a stanalone Java application using an REngine I only have two
> issues:
>
> - trellis.unfocus() is terribly slow in a plot of 10 x 10 panels, it takes
> 1.5 seconds to unfocus, do you know any way to speed it up ?

Call as trellis.unfocus(highlight=FALSE). Unhighlighting essentially
redraws the whole thing (this would be true whenever any component is
removed, though adding is fine).

-Deepayan



More information about the R-devel mailing list