Skip to content

R on Tiger (prelim)

6 messages · Jan de Leeuw, stefano iacus

#
I  build a version of my hacked R-2.0.1 on Tiger (OX 10.4b2), using the  
included
gcc-3.3 and a fresh g77 build from CVS (12/01). I also rebuild Carbon  
Emacs and Aqua Tcl/Tk. So far,
things seem to work, including the resource fork hack. Remember,  
however, that Tiger will
come with gcc-4.0 (and with gfortran replacing g77). I'll try to get a  
build using those going as well,
because of the additional optimization possibilities. The g77 3.3.5  
build has --disable-shared
and single threading.

[www:~] deleeuw% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1804)
[www:~] deleeuw% g77 -v
Reading specs from  
/usr/local/lib/gcc-lib/powerpc-apple-darwin8.0.0b2/3.3.5/specs
Configured with:  ../gcc-3.3-20041201/configure  
--enable-languages=c,c++,objc,f77,java
Thread model: single
gcc version 3.3.5

===
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@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
#
Two questions:
aqua tcl/tk is included with Tiger, what do you mean with "I rebuild  
aqua tcl/tk"?
the second: gfortran ? can you send me a version info.
btw, it works fine for me with g95 which I suppose is gfortran, but I  
get g95 from HPC page not from apple.

stefano
On Dec 2, 2004, at 7:26 PM, Jan de Leeuw wrote:

            
#
On Dec 2, 2004, at 10:58 AM, stefano iacus wrote:

            
OK. This should read "I stupidly rebuild aqua tcl/tk".
Starting from gcc-3.5 the FORTRAN driver is called gfortran, not g95 or  
g77.
I did not get it from Apple either, bur from the CVS pages of the FSF  
(which is where Gaurav
gets it as well). I build my own, because (a) I want gcj, and (b) I  
want to make sure there are
no shared libraries build for libgcc and friends in /usr/local
===
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@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
#
On Dec 2, 2004, at 8:14 PM, Jan de Leeuw wrote:

            
I was aware of this in fact but thanks for confirmation
so, that's what I suspected as well. Apple won't ship any fortran  
compiler for this release of Mac OS X :(

thanks Jan, as usual
stefano
#
On Dec 2, 2004, at 8:14 PM, Jan de Leeuw wrote:

            
well, I forgot to mention. No hack is necessary apparently. In my  
build, aqua tcltk works smoothly from the command line without any  
eventloop handling in R.
And I think this is a major improvement. Of course, still brakes R.app  
but at least ESS people not using quartz can work without problems.
At this point, probably the hack is only needed for making the quartz  
device respond to events.

It would be interesting to understand how they managed to make aqua  
tcltk work without a CFRunLoop in R (which your hack "runs").

stefano
#
I am sure they used the unpublished API that can be used to let command  
line applications use the
window server.
On Dec 2, 2004, at 1:45 PM, stefano iacus wrote:

            
===
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@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