[R] Tcl\tk not supported on this system

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 8 20:02:42 CEST 2008


On Fri, 8 Aug 2008, Richardson, Patrick wrote:

> This is covered in the "R Installation and Administration" manual.  You 
> need to specify the location of your tclConfig.sh and tkConfig.sh files.

And he will not have those.  He needs tcl-devel and tk-devel installed, 
and then (as this is a RedHat/Fedora system) the tclConfig.sh etc will be 
found by configure (for R, and for some of the packages).

tcltk2 is mentioned. That need Tcl/Tk extensions that I have failed to get 
to work correctly with on F8: it is a path issue with where the Fedora 
packages install the extensions.

>
>
> ____________________________________________
> Patrick Richardson
> Biostatistician - Laboratory of Translational Medicine
> Van Andel Research Institute
> Grand Rapids, MI  49503
> ph. 616-234-5787
>
>
>
>
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Michael Gormley
> Sent: Friday, August 08, 2008 1:29 PM
> To: r-help at r-project.org
> Subject: [R] Tcl\tk not supported on this system
>
> trying to install the pbatR package, I was greeted with the error
>
> Error: package 'tcltk' does not have a name space
> Execution halted
>
> Directly installing the package tcltk2 returned the following error:
>
> Loading required package: tcltk
> Error in firstlib(which.lib.loc, package) :
>        Tcl/Tk support is not available on this system
>
> I have seen from previous posts that tcl/tk must be present when R is
> installed.
> I tried reinstalling R from source using
>
> ./configure
> make
>
> and although the installation went fine I received the same errors.
>
> Typing rpm -qa|grep tcl returns:
> tclx-8.3.5-4
> tcl-8.4.7-2
> tcl-8.4.7-2
>
> Typing rpm -qa|grep tk returns:
> gtkspell-2.0.7-2
> atk-1.8.0-2
> gtk+-1.2.10-33
> gtk2-2.4.13-22
> authconfig-gtk-4.6.10-rhel4.3
> gtkhtml2-2.6.2-1
> gtk-engines-0.12-6.el4
> tk-8.4.7-2
> gtksourceview-1.1.0-4
> gtk-engines-0.12-6.el4
> tk-8.4.7-2
> gnome-python2-gtkhtml2-2.6.0-3
> gtkglarea-1.2.2-16
> gtk2-engines-2.2.0-7.el4
> gtkhtml3-3.3.2-6.EL
> usermode-gtk-1.74-1
> atk-1.8.0-2
> gtk2-2.4.13-22
> pygtk2-libglade-2.4.0-1
> gtk+-1.2.10-33
> gtkhtml2-2.6.2-1
> pygtk2-2.4.0-1
>
> So it seems that tcl and tk are present on the system.  I saw a post
> suggesting that I may need some development packages?  What is a good place
> to find these packages?
>
> I am running R version 2.5.1 on a Linux machine running Redhat Enterprise 3.
>
>
> Let me know if you need any more info on the operating system and if there
> are any ideas on how to resolve these issues.
>
> Thanks,
> Michael Gormley
>
>        [[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.
> This email message, including any attachments, is for th...{{dropped:6}}
>
> ______________________________________________
> 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list