Displaying 1 result from an estimated 1 matches for "winconsolefocus".
2003 Oct 22
1
Windows RConsole Focus
...nd one. The motivation is that
after loading the tcltk package, the "main" Tk window "." is
presumably focused but then immediately withdrawn (hidden) so
the RConsole loses its focus and you have to click on it to
continue typing.
Would there be any interest in including a winConsoleFocus()
function in R at some stage or is it already there?
I tried implementing a quick solution (below) which seemes
to work.
Regards,
James
src/gnuwin32/rui.c
------------------
int winconsolefocus()
{
show(RConsole);
return 0;
}
src/gnuwin32/rui.h
------------------
int winconsolefocus(...