But you have to click the left button of the mouse.
How can I determine the mouse position without any click?
Is it possible to extend locator in a way that locator(n=0) outputs the coordinates at once, without any click event?
TclTk allows us to define very nice animations and demonstrations, see for example: demo(tkdensity). But sometimes it is much better to have output and control in one window and to be able to respond to changes of the cursor position (e.g. to that a bandwidth).
Thanks!
--------------------------------------------------------------------------- Peter Wolf, [EMAIL PROTECTED] Department of economics, University of Bielefeld, Germany
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
