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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to