Re: [R] MakeActiveBinding help needed

2010-01-06 Thread Bert Gunter
g] On Behalf Of Carl Witthoft Sent: Wednesday, January 06, 2010 2:30 PM To: r-help@r-project.org Subject: [R] MakeActiveBinding help needed Hi, I wanted a Q&D way to open a new graphics window but keep the focus in the console window (under Windows and the Rgui), so I wrote a line into my Rp

[R] MakeActiveBinding help needed

2010-01-06 Thread Carl Witthoft
Hi, I wanted a Q&D way to open a new graphics window but keep the focus in the console window (under Windows and the Rgui), so I wrote a line into my Rprofile.site file as follows: invisible(makeActiveBinding('newdev', function(...) dev.new(restoreConsole=T), .GlobalEnv)) (That is all on on