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

Simon Urbanek simon.urbanek at r-project.org
Mon Aug 12 00:03:37 CEST 2013


On Aug 11, 2013, at 8:36 AM, Carl Witthoft <carl at 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 <Cmd><1> (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 at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 



More information about the R-SIG-Mac mailing list