From jago at mclink.it  Fri Jun 13 10:07:31 2003
From: jago at mclink.it (Stefano Iacus)
Date: Fri Jun 13 09:07:39 2003
Subject: [Rd] Re: [R-SIG-Mac] Darwin-Aqua R-devel
In-Reply-To: <EB2604CC-9D48-11D7-AFA1-000393BB6D36@stat.ucla.edu>
Message-ID: <B30EEE7B-9D6D-11D7-88E0-003065CC4CB8@mclink.it>


On Venerd?, giu 13, 2003, at 04:44 Europe/Rome, Jan de Leeuw wrote:

> I made a script RAqua with
>
> #!/bin/sh
> exec "/Applications/RAqua.app/Contents/MacOS/RAqua" "$@"
>
> and put it in /usr/local/bin.
>
Thanks Jan, this is very helpful!

> Now RAqua starts up the Aqua GUI, as expected, but library(tcltk)
> says there is no tcl/tk support (and I do have the frameworks).
>

yes, of course, I've not configured this version of R to use tcltk as I  
was too tired yesterday to reconfigure and rebuild. I'm doing it now  
but I'm sure it will work.

> Also the menubar is blocked,
yes, I did not setup the menu handlers etc
> and output from help() and library()
also I did not configure the R pager as "internal" so R prints out to  
the terminal, I'll fix this

> is written to the Terminal window.
>

The aim of doing this is to was just to put some bases in R-devel where  
other Mac devels can experiment.
 From my side, I'm confident I can finish the GUI rather soon, but then  
there will be other delicate things to adjust.
The idea is to switch to Cocoa soon, which can be easily done inside  
Carbon.
The Quartz device will also be soon resizable.

Now that my teching time is over I have more time to work on it.

let's see.

stefano


> But I guess you already new all this. Very exciting.
>
> In previous builds I used, by the way,
>
> configure  
> --with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh  
> --with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh  
> --enable-R-shlib --without-x --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'
>
> to make absolutely sure that AquaTcl/Tk was used.
>
>
> On Thursday, Jun 12, 2003, at 18:29 US/Pacific, Stefano Iacus wrote:
>
>> I've been able to build a very primitive Aqua GUI for Darwin R.
>>
>> This version as minimum event handler support but at least you can  
>> drag around the quartz device.
>>
>> You need to download the RAqua.app.sit archive from  
>> http://www.economia.unimi.it/R/
>>
>>
>> You need to unstuff it and put inside your system Applications folder  
>> (i.e. /Applications)
>>
>> If you click on the RAqua icon nothing will happen (in reality  
>> something happens if you have a look at the Console log window).
>>
>> To run this version of R you should type the following from a term  
>> window
>>
>>
>> /Applications/RAqua.app/Contents/MacOS/RAqua
>>
>>
>> If you want to build this version of R you should download tomorrow  
>> R-devel tgz as I have just committed the files via CVS.
>> This version has been configured with
>>
>> ./configure --enable-R-shlib --with-blas='-framework vecLib'  
>> --with-lapack --with-aqua
>>
>> if you have aquatcl/tk it should work fine. I'll try it tomorrow as  
>> it is too late now :)
>>
>> stefano
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@stat.math.ethz.ch
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
> ===
> Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
> Editor: Journal of Multivariate Analysis, Journal of Statistical  
> Software
> US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
> phone (310)-825-9550;  fax (310)-206-5658;  email:  
> deleeuw@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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>


[Rd] Re: [R-SIG-Mac] Darwin-Aqua R-devel
Stefano Iacus