[R] how do I return "focus" to console window

tomsv193@student.liu.se tomsv193 at student.liu.se
Wed Jun 20 11:56:06 CEST 2001


Hi!

I am creating a tool for adjustments of a special kind of datasets. I 
am plotting these dataset, and after a plot the program needs 
information from the user (via readline("1: approve 2: disapprove > ").
Everything works fine apart from the fact that I have to click (with 
the mouse) on the console-window before I can gice the program its 
input. That is a bit annoying. The question is: how can I arrange it so 
that I only have to press the key (that is: that the console-windows 
is "active" - in some sense - after a plot)

I am using R 1.2.3 on WinNT...

kind regards,
   Tomas Svensson

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list