[R-SIG-Mac] Cocoa GUI feature request (with patch!)

Jan de Leeuw deleeuw at stat.ucla.edu
Fri Oct 22 01:46:53 CEST 2004


The trick:

cd /Library/Frameworks/R.framework/Resources/bin/exec
sudo /Developer/Tools/Rez -t  APPL Carbon.r -o R

This only works if R is compiled with

  configure  
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh  
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh  
--enable-R-shlib --with-aqua --with-blas='-framework vecLib'  
--with-lapack TCLTK_LIBS='-framework Tcl -framework Tk'  
TCLTK_CPPFLAGS='-I/Library/Frameworks/Tcl.Framework/Headers  
-I/Library/Frameworks/Tk.Framework/Headers'

i.e. with the Aqua version of Tcl/Tk, because that's where R gets the  
Apple CF event loop
from. In addition, you get Aqua look and feel  for your tcltk library.

The trick is worthwhile if you run R from Emacs (either CLI or X11 or  
Carbon)
or from a Terminal window AND if you hate the look of X11 windows  
befouling
your Mac. I thought I was the only person in that intersection.

On Oct 21, 2004, at 3:21 PM, Tamas K Papp wrote:

> On Thu, Oct 21, 2004 at 11:33:10PM +0200, stefano iacus wrote:
>> quartz device can be used from Emacs (at least the carbon Emacs)
>> But you need to apply Jan's trick to make quartz an interactive  
>> device.
>
> What is this trick?  Can I find a description somewhere?  Do I need to
> recompile?
>
> Thanks,
>
> Tamas
>
> _______________________________________________
> 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  
Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au



More information about the R-SIG-Mac mailing list