[R] activate console

Bert Gunter gunter.berton at gene.com
Wed Nov 16 18:37:45 CET 2011


??focus   ## admittedly, not the first keyword that comes to mind
?bringToTop

-- Bert

On Wed, Nov 16, 2011 at 9:07 AM, Ben quant <ccquant at 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 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 at 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.
>



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list