[R-SIG-Mac] using tkWidgets under OS X

Jun Tan jtan at stat.wvu.edu
Thu Mar 24 23:32:55 CET 2005


I'm helping my coworker using tkWidgets under OS X. And got the 
following error message when we try to load the package:

Error in fun(...) : Can't find a usable init.tcl in the following 
directories:
     /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.4



This probably means that Tcl wasn't installed properly.
Error: .onLoad failed in loadNamespace for 'tcltk'
Error in library(tcltk) : package/namespace load failed for 'tcltk'

Actually, we had Tcl/Tk Aqua installed. However, it was installed as 
framework. In order to solve this, do I have to compile tcl/tk from 
source code or there is a binary version available which will be 
installed under /usr/local directory.

Thanks,

Tan



More information about the R-SIG-Mac mailing list