On 7/28/2005 7:26 AM, Shengzhe Wu wrote:
> Hello,
> 
> When I use "windows()" to open several windows, e.g. 4 windows, device
> 2, device 3, device 4 and device 5. Normally using "dev.set()" to
> specify the current active window, if there is a way to specify the
> active window by mouse click? When I click device 3, device 3 becomes
> active (shown on device header), and when I click device 4, device 4
> becomes active, so on....

No, there's nothing built in to do that, though you could probably write 
something using the tcltk package to do it.

The logic is that being active means being the target of plot output, 
and essentially all plot output comes from executed commands, not from 
mouse clicks.  Since you're executing commands already, why not put in 
one more?

Duncan Murdoch

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to