[R-SIG-Mac] tcltk and R 2.9.1
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:
> 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/
> library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/
> Referenced from: /Library/Frameworks/R.framework/Versions/2.9/
> 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.
More information about the R-SIG-Mac