[R-SIG-Mac] tcltk and R 2.9.1

Linda Rutledge lrutledge at nrdpfc.ca
Wed Jul 1 16:52:25 CEST 2009


When I try to load the Geneland GUI in R 2.9.1 for Mac OS 10.4.11 (with X11 installed from the installation disk) it always comes up with the error 
"Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared library '/Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so
  Reason: no suitable image found.  Did find:
	/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded"

I do not have this problem with my laptop that is running R 2.9.0. Is there some bug in the R2.9.1 version that prevents tcltk from loading? Is there a way to fix this?


More information about the R-SIG-Mac mailing list