[R] activate console

2011-11-16 Thread Ben quant
Hello, After I plot something how do I reactivate the console (and not the plot window) so I don't have to click on the console each time to go to the next command? Example that does not work: fun = function(x){ plot(x); dev.set(dev.prev())} fun(1:4) ...and another that does not work: fun =

Re: [R] activate console

2011-11-16 Thread Bert Gunter
??focus ## admittedly, not the first keyword that comes to mind ?bringToTop -- Bert On Wed, Nov 16, 2011 at 9:07 AM, Ben quant ccqu...@gmail.com wrote: Hello, After I plot something how do I reactivate the console (and not the plot window) so I don't have to click on the console each time

Re: [R] activate console

2011-11-16 Thread Ben quant
Perfect, thanks! Naturally, now I need to resize the console so it doesn't cover my new plots. I'd like to resize it on the fly (from within the function) then reset the size to its previous size. So, curConsoleDims() and resize.console() are a made up functions, but they demonstrate what I am

Re: [R] activate console

2011-11-16 Thread Bert Gunter
??console ## This you SHOULD have tried yourself! ?loadRconsole ?windows It looks to me like you would use e.g. windows() to position and size the graphics display and then would write a temp file and load it with loadRconsole() to reposition the Gui window as desired. a) This sounds clumsy b)