Re: [R] TclTk library loading (whole version) Linux

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 28 Feb 2006 - 04:24:52 EST

javier garcia-pintado <jgarcia@ija.csic.es> writes:

> Hello;
>
> 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:
>
> MY_TCLTK=yes
> TCL_LIBRARY=/usr/lib/tcl8.4
>
> an in my R session:
> ------------------------------
> > Sys.getenv("MY_TCLTK")
> MY_TCLTK
> "yes"
> > Sys.getenv("TCL_LIBRARY")
> TCL_LIBRARY
> "/usr/lib/tcl8.4"
> > tclRequire("BWidgets")
> [1] FALSE
> 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
>
> Javier

Another Javier (pez-de-Lacalle) has been messing with similar issues for the "uroot" package it seems. There is some stuff in the README file that might be useful. He has tclRequire("BWidget") (no "s")...

-- 
   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@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
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 04:35:19 2006

This archive was generated by hypermail 2.1.8 : Tue 28 Feb 2006 - 06:08:49 EST