[R] R 2.7.2 upgrade in Ubuntu, tcltk does not work any more

Philippe Grosjean phgrosjean at sciviews.org
Mon Oct 6 12:18:00 CEST 2008


I had no problems running R with tcltk until the recent upgrade to 
R-2.7.2-2gustsy1 (I use Ubuntu 7.10 Gutsy Gibbon). Since the upgrade 
from R-2.7.2-1, I got this error (see hereunder). Obviously, I have now 
a problem with tcltk-related .so files. What should I do? Thanks.


phgrosjean at EN-Triton-Ubuntu:~$ R

R version 2.7.2 (2008-08-25)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

   Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 > library(tcltk)
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, 
...) :
   unable to load shared library '/usr/lib/R/library/tcltk/libs/tcltk.so':
   libtcl8.5.so.0: cannot open shared object file: No such file or directory
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'
 > R.version
platform       i486-pc-linux-gnu
arch           i486
os             linux-gnu
system         i486, linux-gnu
major          2
minor          7.2
year           2008
month          08
day            25
svn rev        46428
language       R
version.string R version 2.7.2 (2008-08-25)

More information about the R-help mailing list