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

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Sep 15 16:22:45 CEST 2000


Thomas Hoffmann <hoffmann at ehmgs2.et.tu-dresden.de> writes:

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

Hmm. And the file exists and has the proper permissions?

> 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 ...

Um, how much greater are they? On ix86, I get

> x<-(1:10000)/10000
> min(1 - x / asin(sin(x)))
[1] -2.220446e-16
> max(1 - x / asin(sin(x)))
[1] 2.220446e-16


You could try the same test in raw C, and depending on the result
report an error in R, or lose confidence in *anything* computed on
that machine....

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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