[R] Enhancement request for bringToTop()

Richard M. Heiberger rmh at temple.edu
Tue Aug 19 06:20:12 CEST 2008

Currently (R-2.7.1 on Windows)
when run before a device is opened, gives the error message
> bringToTop(stay=TRUE)
Error in bringToTop(stay = TRUE) : 
  can only bring windows devices to the front

In the same circumstances, a call to par() opens a device.

My request is to modify bringToTop().  If bringToTop()
determines that it is running in an interactive environment,
then it could open a graphics window and honor the request
to put the newly opened window on Top.


More information about the R-help mailing list