[Rd] Does anybody have some starter code in Java to instance a standalone JGRConsole ?

2009-03-13 Thread Daniel Kornhauser
Hi: Does anybody have some starter code in Java to instance a stand alone JGRConsole ? >From the docs it looks that it shouldn't be that hard to write some starter code: http://www.rosuda.org/r/nightly/javadoc/org/rosuda/JGR/JGRConsole.html But in practice starter code has always little tri

[Rd] How to generate a xyplot with multiple panels using an empty data frame ?

2009-01-29 Thread Daniel Kornhauser
Hi: I am coding some interactive interface using an xyplot from lattice. When a user clicks on a panel of the xyplot, a simulation is executed and the resulting data is plotted on the corresponding panel. The problem is that I start with an empty data frame and only fill it as the user request dat

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

2008-11-19 Thread Daniel Kornhauser
programmers. I don't really know what I am getting into, so any advice would be welcomed. Daniel. 2008/11/19 Felix Andrews <[EMAIL PROTECTED]> > 2008/11/20 Deepayan Sarkar <[EMAIL PROTECTED]>: > > On Wed, Nov 19, 2008 at 8:55 AM, Daniel Kornhauser > > <[EMAIL PROTECTED

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

2008-11-19 Thread Daniel Kornhauser
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using JGR R 2.8 with lat

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

2008-11-19 Thread Daniel Kornhauser
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using R 2.8 with lattice

Re: [Rd] Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas

2008-10-24 Thread Daniel Kornhauser
atrix)) && layoutMatrix[focusRow, focusCol] > 0) { trellis.focus("panel", column = focusCol, row = focusRow, clip.off = clip.off, highlight = highlight, ...) } else { focusCol <- focusRow <- 0 }

[Rd] Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas

2008-10-23 Thread Daniel Kornhauser
Hi: I would like to find out the panel of a xyplot matrix where a mouse clicked. I know this functionality is already bundled in trellis.focus but I can't use it because I am coding a stand alone application in Java using with GDCanvas as a graphics device. I tried calling trellis.focus from Jav