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

habasque jeremie.habasque at ird.fr
Tue Nov 22 09:27:03 CET 2011


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))
tkadd(topMenu,"cascade",label="File",menu=fileMenu)
tkfocus(tt)[/CODE]

Thanks,

--
View this message in context: http://r.789695.n4.nabble.com/invalid-command-name-tk-MenuDup-tp4091092p4094860.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list