[R] R on HP-UX, again: modreg.sl fails, 1 arith test fails

Thomas Hoffmann hoffmann at ehmgs2.et.tu-dresden.de
Fri Sep 15 15:35:04 CEST 2000


I want to report the progress of my attempts to get R running on HP-UX
with gcc: 

Firstly, I could work around the PIC problem by leaving out all the lib stuff
(I rebuilt gcc with --enable-share, but this (alone) did not help), e.g. the
line 

gcc -shared -fPIC  -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/local/lib  -lg2c 
-lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main -L/usr/local/qt/lib 
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/gcc/lib -lm

was replaced by 

gcc -shared -fPIC  -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -u main

With this I could run the make process to completion. Even the tests w/ loading these shared
libs work, with the exception of modreg.sl. Calling

> library(modreg)

results in

Error in dyn.load(x, as.logical(local), as.logical(now)) : 
        unable to load shared library "/usr/local/lib/R/library/modreg/libs/modreg.sl":
  can't open /usr/local/lib/R/library/modreg/libs/modreg.sl
Error in library(modreg) : .First.lib failed

Another problem is the failure of the arith test:

abs(1 - x / asin(sin(x)))

results in values greater then Meps for x=0.53 and 0.56.

Has anybody seen this? Because the arith test is a basic test, this seems to be rather
specific to my machine/libs.

At least, I have R running at the HP system and can use my 21" monitor, instead having
to go to our smallish Win95 computer. But with failed arithmetic tests I am not that
confident in the results I will get ...

Thomas.


=============================================================================
Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden 
E-mail: hoffmann at ehmgs2.et.tu-dresden.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list