Re: [R] invalid command name tk::MenuDup

2011-11-22 Thread habasque
It seems that tcl/tk doesn't work fine on R-2.11 version. Anyone can run this code to confirm ? [CODE]require(tcltk) tt - tktoplevel() topMenu - tkmenu(tt) tkconfigure(tt,menu=topMenu) fileMenu - tkmenu(topMenu,tearoff=FALSE) tkadd(fileMenu,command,label=Quit,command=function() tkdestroy(tt))

[R] invalid command name tk::MenuDup

2011-11-21 Thread habasque
Hi to all, I'm developping an user interface in TCL/TK but in some computers this error occurs : Tcl invalid command name tk::MenuDup when the user runs : tm - tktoplevel(height=500,width=800) topMenu - tkmenu(tm) tkconfigure(tm,menu=topMenu) i don't understand why this code works on my