[R] tcltk - tkcreate question

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Nov 27 20:42:39 CET 2003


Thomas Stabla <statho3 at web.de> writes:

> 
> I have successfully translated the code until the line
> 
>    $base.fm.cv create window 0 0 -anchor nw -window $hull -width 10 -height 500 -tag window
> 
> which i don't fully understand because i started with tcltk just this
> week.
> 
> I tried to translate this line using the R function tkcreate, but i didn't
> get very far.

I assume you got the canvas ($base.fm.cv) stored in a variable,
"cv", say, and "hull" similarly. Then my first guess would be  

tkcreate(cv, "window", 0, 0, anchor="nw", window=hull, width=10,
         height=5, tag= "window")


-- 
   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-help mailing list