Hi,

If you have Python running on your system you could create this script 
(graphics.py):

import win32api
import win32con
import win32gui
def windowEnumerationHandler(hwnd, windowlist):
    windowlist.append((hwnd, win32gui.GetWindowText(hwnd)))
mywindows = []
win32gui.EnumWindows(windowEnumerationHandler, mywindows)
for hwnd, windowtext in mywindows:
    if windowtext.startswith('R Graphics'):
        win32gui.ShowWindow(hwnd, win32con.SW_MAXIMIZE)  

Then adds this to your R code:

system("python graphics.py")



--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/message/r-help@r-project.org/9516326.html

______________________________________________
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