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

About this list Date view Thread view Subject view Author view

From: tomsv193@student.liu.se
Date: Wed 20 Jun 2001 - 19:56:06 EST


Message-id: <45a2a3ed1b.3ed1b45a2a@student.liu.se>

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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:45 EST