search for: winmenudel

Displaying 2 results from an estimated 2 matches for "winmenudel".

2004 Aug 13
1
Bug or feature in winMenuDel?
I just noticed the following in Rgui: > winMenuAdd('test') # adds a menu > winMenuAddItem('test', 'item', 'x') # adds an item to it > winMenuDel('test') # deletes the menu... > winMenuItems('test') # but leaves the item behind. item "x" Would anyone object if I changed winMenuDel so that it deleted the menu and any items or submenus in it as well? Duncan Murdoch
2004 Jun 01
1
WinMenu's question
...the source code I am forced to quit and restart Rgui. "try.menu" <- function(){ OS <- .Platform$OS.type GUI <- .Platform$GUI if (!(OS == "windows" & GUI == "Rgui")) return("Sorry, you must be running R using Rgui.exe on MS Windows") try(winMenuDelItem('EMG/Graphics','Plot.trace')) try(winMenuDel('EMG/Graphics')) try(winMenuDel("EMG")) winMenuAdd("EMG") winMenuAdd("EMG/Graphics") winMenuAddItem("EMG/Graphics","Plot trace","plot.trace()") } "plot...