Hi,

I am trying to use a tk table, with the following code

require(tcltk)
tt <- tktoplevel()
tclRequire("Tktable")
tkwm.title(tt,title)
table1 <-
tkwidget(tt,"table",rows=nrow,cols=ncol,titlerows=1,titlecols=0,height=height+1,width=width+1,
                     xscrollcommand=function(...)
tkset(xscr,...),yscrollcommand=function(...) tkset(yscr,...))

However, the last line causes the following error message

unknown color name "systemWindowBody"

This code works fine in Windows XP, but not on my Mac.

Does anyone have a solution to this problem? Any help would be gratefully
appreciated.

Kind regards,

Sam

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui

Reply via email to