Re: [R] Problem with TLC/TK on Ubuntu

From: Roland Rau <roland.rproject_at_gmail.com>
Date: Fri, 18 Jul 2008 10:25:27 -0400

Hi Davide,

did you check the R Installation and Administration Manual? In Section A.2.1 you will find some more information.

Make sure that you have the 'dev' packages installed of tcl8.x and tk8.x.

If you don't know where 'tclConfig.sh' and 'tkConfig.sh' are located, just find them:
locate tclConfig.sh
locate tkConfig.sh

now you will know the path to those two files. All you need to do now is (in the correct directory of course): ./configure --with-tcl-config=/my/path/to/tclConfig.sh

        --with-tk-config=/my/path/to/tkConfig.sh make
etc.

I hope this helps,
Roland

Davide Massidda wrote:
> Dear all,
> I have installed R on Linux/Ubuntu 8.04. When I try to load the tcltk
> package, I get the response:
>

>> library(tcltk)

> Error in firstlib(which.lib.loc, package) :
> Tcl/Tk support is not available on this system
> Error in library(tcltk) : . First.lib failed for 'tcltk'
>
> In order to solve this problem, I try to:
> 1. To download the tcl and the tk packages (version: 8.5) from
> http://www.tcl.tk and to install them (the -dev packages also), but the
> error hold over.
> 2. To install the previous releases (version: 8.4) for these packages. The
> error hold over.
> 3. To set the environment variables 'TCL_LIBRARY' and 'TK_LIBRARY', in this
> mode:
> TCL_LIBRARY=/usr/local/lib/tcl8.5 * (or 8.4)*
> TK_LIBRARY=/usr/lib/tk8.5 *(or 8.4)*
> but the error hold over.
> 4.Therefore, after this modifications, i uninstalled R and I installed again
> it. I try to do this both without setting environment variables and setting
> it. The error hold over.
> I look for a solution.
>
> Thank you
>
> Davide Massidda
> *--
> QPLab - Quantitative Psychology laboratory
> Department of General Psychology
> Via Venezia 8 -35131 Padova, Italia*
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 18 Jul 2008 - 14:48:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 15:02:01 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive