[R] activate console

Ben quant
Wed, 16 Nov 2011 17:07:57 -0000

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 = function(x){ plot(x); dev.set(NULL)}
fun(1:4)

Again, by 'not work' I mean I can't seem to give control back to the
console after I plot. I didn't find anything online.

thanks,

Ben

	[[alternative HTML version deleted]]