[R] TclTk library loading (whole version) Linux

From: javier garcia-pintado <jgarcia_at_ija.csic.es>
Date: Tue 28 Feb 2006 - 03:35:08 EST


Well, I'm afraid this is the second related problem I report in two days (I'm sorry for this)

I've programmed a tcltk interface for a model and it includes a comboBox. The comboBox widget comes with the "BWidgets" library of Tcl/Tk.

 It works all perfectly with the windows R GUI (with the help of Prof. B. Ripley), following the advices in ?Startup, but I would like that it also could work under Linux. I've got a complete TclTk8.4 installed and also BWidgets, and I could swear that the complete Tcl libraries could be loaded at least once, because I saw a message like "Tcl 1.7" or similar under R.

Now I don't receive the message anymore and it cannot find BWidgets under R. So I'm not even sure that I'm loading the whole tclTk Library anymore(instead of the subset that comes along with R)

I've got libtcl8.4.so and libtk8.4.so in /usr/lib My .Renviron file contains:


an in my R session:

> Sys.getenv("MY_TCLTK")

> Sys.getenv("TCL_LIBRARY")

> tclRequire("BWidgets")

Warning message:
Tcl package 'BWidgets' not found in: tclRequire("BWidgets")

Please, some how uses BWidgets could tell if I'm doing something wrong in these steps? I've just installed ESS (Emacs Speaks Statistics), could this be a source of problem?

Thanks to all, and best regards


        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 28 03:48:47 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:45 EST