[R-sig-Debian] tk not installed properly

Tyler Smith tyler.smith at mail.mcgill.ca
Fri Nov 2 18:10:26 CET 2007


I'm getting the following error:

> install.packages()
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... Error in fun(...) : Can't find a usable tk.tcl in the following directories: 
    /usr/share/tcltk/tcl8.4/tk8.4 ./lib/tk8.4 /usr/local/lib/tcltk/tk8.4 /usr/local/share/tcltk/tk8.4 /usr/lib/tcltk/tk8.4 /usr/share/tcltk/tk8.4 ./library ./tk8.4.16/library

This probably means that tk wasn't installed properly.

Error: .onLoad failed in 'loadNamespace' for 'tcltk'

This has worked before, probably last used successfully a couple of
weeks ago. I'm running Lenny, interacting with R version 2.5.1
(2007-06-27) using Emacs22 and ESS. I downloaded and installed Emacs22
from GNU directly before it was in the Debian repository, and
hand-installed ESS according to standard directions. R was installed
via the Debian repositories. Up until today I had no problems with

I have tk8.4.16-1 and tcl8.4.16-3 installed via aptitude, satisfying
the dependencies of r-base-core. I just installed tk8.5 and tcl8.5,
but the problem remains.

Any ideas?



Better a botanist than a sociopath.
                                       --Charlane Bishop

More information about the R-SIG-Debian mailing list