[R] bringToTop without focus?

Duncan Murdoch murdoch at stats.uwo.ca
Thu Aug 3 15:18:01 CEST 2006

On 8/3/2006 9:13 AM, christian.ritter at shell.com wrote:
> Hi all who know R on Windows,
> Quick question: Is there a way to do "bringToTop(stay=TRUE)" without giving "focus"? I would like to pop a graph window but I would like to preserve focus in the window which I was in before. 

No, there's no way to do that.  The closest is

{ bringToTop(stay=TRUE); bringToTop(-1) }

but that only works if the previous window was the console.

Duncan Murdoch

More information about the R-help mailing list