[Rd] bug in getGraphicsEvent (PR#10453)

From: <twoutopias_at_gmail.com>
Date: Thu, 22 Nov 2007 22:25:03 +0100 (CET)

Full_Name: Seth Roberts
Version: 2.6.0
OS: Windows XP
Submission from: (NULL) (

Using getGraphicsEvent produces stack imbalance warnings. This started after I installed 2.6.0; it did not happen with 2.5.1.

Running the example given in the user manual (retrieved via ?getGraphicsEvent) produces the following errors:

Key <2>
Key <1>
Buttons 0 at 0.991317 0.9942029
Warning: stack imbalance in 'getGraphicsEvent', 7 then 17 Warning: stack imbalance in '.Internal', 6 then 16
[1] "Done"

I wrote the following program:

function ()


running the program, switching to the graphics window and typing "4" produced:

Waiting for input

Warning: stack imbalance in 'getGraphicsEvent', 13 then 14
Warning: stack imbalance in '.Internal', 12 then 13
Warning: stack imbalance in '{', 6 then 7

[1] "4"

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 23 Nov 2007 - 17:32:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 23 Nov 2007 - 18:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.