[R] Question about making active a previously opened graphic device

Henrique Dallazuanna wwwhsd at gmail.com
Fri Jan 18 16:16:00 CET 2008


Perhaps:

dev.set(3)

On 18/01/2008, Monica Pisica <pisicandru at hotmail.com> wrote:
>
> Hi,
>
> I have opened 2 different graphic devices on screen with windows(3) and Windows(4) (I already have had an other graphic on screen opened in device 2).
>
> Now device 3 is inactive and device 4 is active. How i can make device 3 active to plot in device 3 and after make device 4 active to have a different plot in it?? For what i am doing it is important to first open the graphic devices - because on each i apply a certain layout ..... after which i would like to "jump" between devices when plotting graphics.
>
> I looked at help and "bringToTop(which = 3)" just change the focus of the windows but does not make that device active, so everything is still plotted in device 4.
>
> Thanks for any help,
>
> Monica
> _________________________________________________________________
> [[elided trailing spam]]
>
>         [[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.
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list