[R-SIG-Mac] tcltk and R 2.9.1

Simon Urbanek simon.urbanek at r-project.org
Wed Jul 1 19:01:12 CEST 2009


On Jul 1, 2009, at 10:52 AM, Linda Rutledge wrote:

> Hi,
>
> 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?
>

Yes, re-install X11. You failed to supply any details so we can only  
speculate, but my guess would be that you upgraded from ppc to intel  
at some point (or installed some other X11) and thus your X11 doesn't  
have intel binaries. But, again, without any details (sessionInfo(),  
machine type and preferably output of "file /usr/X11R6/lib/ 
libX11.6.dylib") it's only a wild guess.

Cheers,
Simon



More information about the R-SIG-Mac mailing list