[R-SIG-Mac] tcl/tk problem.

James Platt james-platt at hotmail.co.uk
Mon Jul 19 16:19:37 CEST 2010


Hi People,

I am quite new to R and I also apologize if this has come up before:


Trying to load tcl/tk package I get this:

Error: package/namespace load failed for 'tcltk'
Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace()  
for 'tcltk', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared library '/Library/Frameworks/ 
R.framework/Resources/library/tcltk/libs/x86_64/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/ 
x86_64/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
tcltk/libs/x86_64/tcltk.so
  Reason: image not found

 > sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-apple-darwin9.8.0

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] TeachingDemos_2.6

loaded via a namespace (and not attached):
[1] tools_2.11.1


How do I resolve this?
Thanks for any help that can be provided,

James



More information about the R-SIG-Mac mailing list