[R-SIG-Mac] Cannot load tcl/tk (tcltk package installed)

Anca Chereches anca.che at gmail.com
Thu Aug 30 22:20:07 CEST 2012


Hello,

I'm getting the following error message when trying to load tcltk:

"Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace() 
for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object 
'/Library/Frameworks/R.framework/Versions/2.15/Resources/library/tcltk/libs/i386/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/tcltk/libs/i386/tcltk.so, 
10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /usr/local/lib/libtk8.5.dylib
Reason: image not found
Error: package/namespace load failed for ‘tcltk’"

I've installed tcltk-8.5.5 from the dmg on cran and as far as I can tell 
installation was successful. I have tk8.5 and tcl8.5 in /usr/local/lib. 
X11 is also installed and working.

I'm running:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
R.app GUI 1.52 (6188) i386-apple-darwin9.8.0
On: Mac OS X 10.6.8

I don't really know how to go about figuring out the problem. I'd be 
grateful for any hints or suggestions of help pages and so on. I've 
googled this, but most problems seem to be related to people not having 
installed tcltk, which I have.

Thank you!

Anca



More information about the R-SIG-Mac mailing list