[R-SIG-Mac] Re: Building terminal R that used Aqua Tcl/Tk
Jan de Leeuw
deleeuw at stat.ucla.edu
Sat May 14 01:32:19 CEST 2005
Dan
Tiger comes with Aqua Tcl/Tk included. Just compile with
configure --with-aqua --with-blas='-framework vecLib' --with-lapack
and it will automatically use the Aqua Tcl/Tk. Then load the tcltk
package, which I do automatically at R startup, and R will open
as a Terminal based Tcl/Tk application that has access to the Tcl/Tk
eventloop
and will use that for interaction with Tk and with the Quartz device.
If this does not work, and you get the dreaded SetFrontProcess error
(you cannot interact with the graphics windows), go to
/Library/Frameworks/R.framework/Resources/bin/exec and say
sudo /Developer/Tools/Rez -t APPL Carbon.r -o R
and then it will work.
You'll have the Aqua Rcmdr (see attached), but since you dont have x11
support there will be no rgl.
-- Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.png
Type: image/png
Size: 252562 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20050513/2fe0ae6d/Picture1-0001.png
-------------- next part --------------
On May 13, 2005, at 1:35 PM, Dan Putler wrote:
> Hi Jan,
>
> I'm the unofficial OS X resource person for John Fox's R Commander
> package. I and some of my and John's students have run the package
> using the R Cocoa console and X11 Tcl/Tk. The install of this setup
> is very cumbersome for students, as well as others. Once loaded, it
> works (even using a Jaguar version on Tcl/Tk), and is surprisingly
> stable given it is using two windowing systems and two different
> interpreters. However, it is far from ideal.
>
> I'm interested in finding out how you build R so that it runs the
> Aqua Tcl/Tk. Moreover, it appears, based on the description, that
> batteries included R uses pre-installed packages beyond R's base
> packages (something that is pretty easy to do, and is documented,
> on the Windows side, but I'm uncertain how to do this on the Mac
> side). My OS X machine is an iBook G4, so I am unable to try the
> package you released yesterday. I assume that it could be built to
> run on a G4 machine.
>
> Any assistance you can give me on this would be greatly appreciated.
>
> Dan
>
===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of
Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical
Software
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
More information about the R-SIG-Mac
mailing list