Currently (R-2.7.1 on Windows) bringToTop(stay=TRUE) 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. Thanks Rich ______________________________________________ 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.