[R-SIG-Mac] Re: [R] tcl/tk problem

Simon Urbanek simon.urbanek at r-project.org
Thu Apr 28 03:57:35 CEST 2005


Jennifer,

On Apr 27, 2005, at 7:21 PM, Rob J Goedman wrote:

> You need to start X11 before loading tcltk.

Rob is right, of course. In fact, you need to install it [X11] in the  
first place... If you use Mac OS X 10.3 or higher, it's located on  
the installation CDs/DVD - look for the X11User.pkg (depending on the  
exact version it may be well hidden). For 10.2 or older you need  
either Apple's beta or XDarwin, whichever you'll find first.

You will also need the tcltk library itself which is supplied in the  
CRAN installer, but optional by default.

Cheers,
Simon

>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>>     unable to load shared library "/Library/Frameworks/R.framework/ 
>> Resources/library/tcltk/libs/tcltk.so":
>>   dlcompat: dyld: /Applications/R.app/Contents/MacOS/R can't open  
>> library: /usr/X11R6/lib/libX11.6.dylib  (No such file or  
>> directory, errno = 2)



More information about the R-SIG-Mac mailing list