Re: [R] Timing issue using locator() in loop containing print()

2009-05-26 Thread Bob Meglen
unday, May 24, 2009 5:06 PM Subject: Re: [R] Timing issue using locator() in loop containing print() Is the output buffered on the RGUI? If so, uncheck it and see if the problem clears up. On Sun, May 24, 2009 at 3:24 PM, Bob Meglen wrote: I am attempting to use locator(n=2) to

Re: [R] Timing issue using locator() in loop containing print()

2009-05-24 Thread jim holtman
Is the output buffered on the RGUI? If so, uncheck it and see if the problem clears up. On Sun, May 24, 2009 at 3:24 PM, Bob Meglen wrote: > I am attempting to use locator(n=2) to select the corners of several (5 in > this case) rectangles on an image displayed in a JavaGD window. The returned

[R] Timing issue using locator() in loop containing print()

2009-05-24 Thread Bob Meglen
I am attempting to use locator(n=2) to select the corners of several (5 in this case) rectangles on an image displayed in a JavaGD window. The returned coords are used to draw labeled rectangles around the selected region. I have tried several things to get this to work including sys.Sleep to c