[R-SIG-Mac] Tcl/tk question

Marcelo Pando marpan at stanford.edu
Mon May 12 21:16:01 CEST 2008


Hi,
I'm trying to run Rcmdr and I got this message:

> library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...)
: 
  unable to load shared library
'/Library/Frameworks/R.framework/Versions/2.7/Resources/library/tcltk/libs/i
386/tcltk.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.7/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.7/Resources/library/tcltk/libs/i3
86/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 installed the required packages ( abind, car, effects, lmtest, multcomp,
mvtnorm, relimp, sandwich, strucchange, zoo and rgl) and run X11 before
running Rcmdr. But the Rcmdr window doesn't open.

Any suggestion?

Thanks

Marcelo



More information about the R-SIG-Mac mailing list