Hi, I am trying to create a drop-down combobox in R TclTk. The following works fine for a ListBox but fails for a combobox: ################# THIS WORKS FINE - CREATES AN EMPTY LISTBOX ## tt<-tktoplevel() win <- .Tk.subwin(tt) .Tcl(paste("listbox",.Tk.ID(win),.Tcl.args())) tkpack(win) ################## THIS FAILS - ATTEMPTS TO CREATE A COMBOBOX ## tt<-tktoplevel() win <- .Tk.subwin(tt) .Tcl(paste("iwidgets::combobox",.Tk.ID(win),.Tcl.args())) Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] . I am using R 1.6.2 (with tcltk package 1.6.2) and ActiveTcl 8.3.5.0 in Windows 2000. Below I've included some of the relevant ActiveTcl help. I'm not sure why it has "funny characters". # # Non?.editable Dropdown Combobox # iwidgets::combobox .cb1 ?.labeltext Month: \ ?.selectioncommand {puts ?selected: [.cb1 getcurselection]"} \ ?.editable false ?.listheight 185 ?.popupcursor hand1 .cb1 insert list end Jan Feb Mar Apr May June Jul Aug Sept Oct Nov Dec BTW, Thanks very much to all organizers and presenters at the DSC 2003 - a huge sucess! Regards, James -------------------------------------------------------------------------- James Wettenhall Tel: (+61 3) 9345 2629 Division of Genetics and Bioinformatics Fax: (+61 3) 9347 0852 The Walter & Eliza Hall Institute E-mail: wettenhall at wehi.edu.au of Medical Research, Mobile: (+61 / 0 ) 438 527 921 1G Royal Parade, Parkville, Vic 3050, Australia http://www.wehi.edu.au --------------------------------------------------------------------------