[R-SIG-Mac] Cocoa GUI feature request (with patch!)
Tamas K Papp
tpapp at Princeton.EDU
Sun Oct 24 16:02:34 CEST 2004
I tried it, nothing changes.
I am not sure that my R has been compliled with the options given
below. How can I check that?
I am using R-2.0.0-Batteries-Included.dmg, 10-15-04. It is compiled
with Tcl and Tk and the other options? My /Library/Frameworks has
only PrintMeSSL.framework, R.framework, StuffIt.framework, should I
need anything else there?
BTW, R-2.0.0-Batteries-Included is simply amazing. Besides R, the
Emacs is the most consistent one I have seen on OS X. Thank you very
much!
Thanks,
Tamas
On Thu, Oct 21, 2004 at 04:46:53PM -0700, Jan de Leeuw wrote:
> 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