Displaying 1 result from an estimated 1 matches for "graph2main".
2008 Jul 06
1
Windows Only: winMenuAdd() problem
...ar Windows version/setup. So any help would be
appreciated. First the problem, then the info. The following code can be cut
and pasted into your R session
#############################
### start R
### create a plot on device 2 (which can be determined by dev.cur())
plot(1:10)
winMenuAdd("$Graph2Main/newmenu")
## the menu has been added to the graphics window
#### now close all graphics devices
## (can also be done by pointing and clicking on the Windows close icon)
graphics.off()
## Now repeat
plot(1:10)
winMenuAdd("$Graph2Main/newmenu")
## No menu has been added ! --...