[R-gui] MainFrame Tk BWidget

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Apr 20 16:51:58 CEST 2004


Enrique Bengoechea <enrique.bengoechea at credit-suisse.com> writes:

> Thanks for your answer, I'll try to transform the example below to
> character vector, although any additional clue will be acknowledged
> :-)

Here's one clue, but you should probably study James W's note closely.


> tkcmd("list",tkcmd("list","A",1,c(2,3)), foo=1:3)
<Tcl> {A 1 {2 3}} -foo {1 2 3}

Or, of course:

> tcllist <- function(...)tkcmd("list",...)
> tcllist(tcllist("A",1,c(2,3)), foo=1:3)
<Tcl> {A 1 {2 3}} -foo {1 2 3}

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-SIG-GUI mailing list