If the problem is with X11, as Simon suggested, you might be better off installing the x11 package distributed by MacOsForge:
http://xquartz.macosforge.org/trac/wiki

This is the official Apple X11 development site. It just happens to be a few months ahead of the official releases. These distributions of X11 are known to be more compliant with Unix software distributed via fink and Macports, for example.

Payam


On 7/2/09 3:00 AM, "r-sig-mac-request@stat.math.ethz.ch" <r-sig-mac-request@stat.math.ethz.ch> 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?

Thanks




	[[alternative HTML version deleted]]

