R-alpha: compiling R0.13

Jim Lindsey (jlindsey@luc.ac.be)
Fri, 8 Nov 1996 09:21:50 +0100 (MET)

From: Jim Lindsey <jlindsey@luc.ac.be>
Message-Id: <9611080821.AA01239@alpha.luc.ac.be>
Subject: R-alpha: compiling R0.13
To: r-testers@stat.math.ethz.ch
Date: Fri, 8 Nov 1996 09:21:50 +0100 (MET)

I am (still) running the pre-Elf Slackware version of Linux,
i.e. a.out. Compiling 0.13 was rather difficult:
1. I first made the changes already necessary in previous versions:
 a. remove defines for dynamic loading in Platform.h
 b. add -lc to the libs before the X libs
 c. change cp to mv for installing R.binary
2. Compiling went fine but linking gave numerous errors. -lm is
 missing from libs.
3. Now it linked, but when run would not load all of base. The first
 warning was that atan is giving NAs. What a surprise to discover that
 1+1 also gives an NA! After a lot of searching, I discovered that,
 when HAVE_ISNAN is not defined in Arith.h, MATH_CHECK has an
 error. The test should be  errno==0?R_tmp:RNaN
Now that I have it working, my first impression is that the
optimization routine runs considerably faster than before.
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch