[R-SIG-Mac] Error loading tcltk library

Ivan Alves papucho at mac.com
Tue Jan 6 15:24:12 CET 2009


Dear all,

The latest leopard snapshot of R 2.8.1 seems to have a problem loading  
the tcltk package, and found no related entries in  
gmane.gmane.comp.lang.r.mac.  It appears to be a broken link. Any  
suggestions on how to fix it? Many thanks in advance.

Best regards,
Ivan

Output:

 > sessionInfo()
R version 2.8.1 Patched (2009-01-05 r47481)
i386-apple-darwin9.6.0

locale:
en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
 > library(tcltk)
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath =  
DLLpath, ...) :
   unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/tcltk/libs/i386/tcltk.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/ 
i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
tcltk/libs/i386/tcltk.so
   Reason: image not found
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'



More information about the R-SIG-Mac mailing list