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

Jan de Leeuw deleeuw at stat.ucla.edu
Fri Mar 25 00:17:22 CET 2005

You have to choose if you want the Aqua or the X11 version. If you  
choose for
Aqua you have to set the TCLTK_LIBS and TCLTK_CPPFLAGS to point to the
framework. But observe the R GUI does not work with Aqua Tcl/Tk, and  
does tkrplot. They do work with the X11 version of Tcl/Tk, if you can  
stand that.
You can have both installed (the X11 version in /usr/local).

On Mar 24, 2005, at 14:32 , Jun Tan wrote:

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

Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of  
Editor: Journal of Multivariate Analysis, Journal of Statistical  
US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
.mac: jdeleeuw ++++++  aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
           No matter where you go, there you are. --- Buckaroo Banzai

More information about the R-SIG-Mac mailing list