[R-SIG-Mac] Tcl/tk question

Simon Urbanek simon.urbanek at r-project.org
Mon May 12 21:48:17 CEST 2008


On May 12, 2008, at 3:16 PM, Marcelo Pando wrote:

> 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


^^^ -- it appears you have wrong X11 installed. The CRAN binary is  
tested only with Apple's X11, so if you have installed anything else,  
you're on your own (although it usually works, too).
If you want any more info, please post exactly what machine you are  
using, what OS version and X11.

Cheers,
Simon


>
> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list