I'm trying to use tktable or tablelist to display a data frame and
highlighting certain cells using the background color.
I found this in the archives, but cannot translate it to use tcl as
suggested by the error msg:
require(tcltk)
tclRequire("Tktable")
tt <- tktoplevel()
table1 <- tkwidget(tt,"table")
tkpack(table1)
tkcmd(.Tk.ID(table1),"tag","celltag","ZeroZero","0,0")
tkcmd(.Tk.ID(table1),"tag","celltag","ZeroOne","0,1")
tkcmd(.Tk.ID(table1),"tag","configure","ZeroZero",bg="red")
tkcmd(.Tk.ID(table1),"tag","configure","ZeroOne",bg="blue")
Error: 'tkcmd' is defunct.
Use 'tcl' instead.
See help("Defunct")
--
David Katz
www.davidkatzconsulting.com
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-GUI mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-gui