[R] Using Tk table widget to display matrix

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Sep 7 23:25:59 CEST 2005

jhallman at frb.gov writes:

> Has anyone written a matrix editor or data.entry() replacement using the Tk
> table widget?  I've been playing around with the examples at
> http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/tktable.html
> and making some progress, but I'd rather not spend much time on this if
> someone else has already done it.

I don't think so. It's been on my mind for a long time a I put in the
tclArray stuff to support it. As you've seen, James W. took it up and
went quite some distance with it, but he didn't go all the way.

When I've been thinking of these matters, I've been sidetracked by a
generic issue with Tcl extensions: How do you make sure that e.g.
tktable is available? Installation instructions tend to become
nontrivial and depend on details of the Tcl installation. One possible
idea that I have been toying with is to wrap the whole extension in an
R package, but we seem to have some issues on Windows where building
Tcl/Tk themselves using the Mingw32 toolchain doesn't quite work.

   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907

More information about the R-help mailing list