[R] Issues with tcltk for Tiger Mac OSX

Bernard Leong bleongcw at gmail.com
Fri Aug 12 15:50:43 CEST 2005


Dear R-helpers,

I have installed the latest version of R 2.1.1 in the Tiger OSX.
However, when I load up R and use the following command:

> library(tcltk)

I encounter the following error:

Loading Tcl/Tk interface ... 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':
  dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/tcltk.so,
10): corrupt binary, library ordinal too big
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'

I have done a couple of remedies: 
1) Tried installing tcl and tk 8.4 from source
2) Tried to install the version of tcltk from the fink sourceforge net.
3) Tried to change the path

and it does not work.

Does anyone have a solution to this problem  as I need tcltk to run limmaGUI?

Best regards,
Bernard




More information about the R-help mailing list