Skip to content
Prev 10713 / 15075 Next

Mac OS X tcltk/X11 issues

For the record, if you have package tcltk loaded you can ask it which 
windowing system Tk uses by

tclvalue(.Tcl("tk windowingsystem"))  # "x11" or "aqua"

However, if you want to find out which it was compiled against before 
loading it, you need to do the sort of thing below.

R-patched and R-devel now have (see NEWS)

     ? (OS X only.) Package tcltk checks if it is linked against the
       CRAN X11-based Tcl/Tk and if so that the Tcl/Tk component and the
       X11 libraries are installed.  This allows more informative error
       messages to be given.
On 15/07/2014 15:16, Prof Brian Ripley wrote: