[R-SIG-Mac] arguments to dev.new()

2013-08-11 Thread Carl Witthoft

Hi,
the WindowsOS - specific command windows()  accepts an argument 
restoreConsole , which, when set to TRUE, returns focus to the console 
window after opening a new graphics device.
The help file for dev.new()  only says '...	arguments to be passed to 
the device selected.'


Is there an argument that will return focus to the R.app console window?

thanks
Carl
--

Sent from a parallel universe almost, but not entirely,
nothing at all like this one.

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] arguments to dev.new()

2013-08-11 Thread Simon Urbanek

On Aug 11, 2013, at 8:36 AM, Carl Witthoft c...@witthoft.com wrote:

 Hi,
 the WindowsOS - specific command windows()  accepts an argument 
 restoreConsole , which, when set to TRUE, returns focus to the console 
 window after opening a new graphics device.
 The help file for dev.new()  only says '... arguments to be passed to the 
 device selected.'
 
 Is there an argument that will return focus to the R.app console window?
 

Nope - you have to use Cmd1 (or equivalent).

In theory this would be possible to implement but it's quite tricky - Quartz is 
independent of the UI and the console could be in fact in another app (this is 
quite common: e.g. running R console in the Terminal and Quartz in the R 
process ).

Cheers,
S



 thanks
 Carl
 -- 
 
 Sent from a parallel universe almost, but not entirely,
 nothing at all like this one.
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac