[R-gui] Tktable on Mac OSX with X11, systemWindowBody color
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Fri Aug 8 09:26:38 MEST 2003
James Wettenhall <wettenhall at wehi.edu.au> writes:
> Hi,
>
> I'm doing some testing of my R/TclTk application on Mac OSX with
> Apple X11 (based on Xfree86), (with Tcl/Tk installed via the
> Apple Developer Tools) and I've come across a problem
> when trying to use the table widget in Tktable:
>
> This works fine in wish (the Tcl/Tk interpreter) :
> % package require Tktable
> % toplevel .tt
> % table .tt.table1
> % pack .tt.table1
>
> But when I try it in R (even when using the low-level .Tcl(...)
> interface which should be similar to wish:
>
> > library(tcltk)
> > addTclPath("/Library/Tcl")
> > .Tcl("package require Tktable")
> > .Tcl("toplevel .tt")
> > .Tcl("table .tt.table1")
> Error ...
> [tcl] unknown color name "systemWindowBody".
>
> "grep systemWindowBody *" in the Tktable package directory
> revealed just one reference to it, in the binary file,
> libTktable2.8.dylib
> I don't have the Tcl/Tk source handy and I couldn't find
> systemWindowBody in the R source or in the tcltk
> R package source.
Beats me, but you might try a query on comp.lang.tcl. Presumably, wish
is somehow loading the system colors on startup, and this doesn't
happen with the R/Tcl interpreter.
BTW, have you tried the tkAqua stuff?
--
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