R-beta: acepack with 0.50-a1
Thomas Lumley
thomas at biostat.washington.edu
Sun Aug 3 04:28:47 CEST 1997
On Thu, 31 Jul 1997, U-E59264-Osman Buyukisik wrote:
> I have an hp9000/c160 with hpux10.20+gcc2.7.2. When I try the example
> in the ace help I get:
> > library(acepack)
> > ?ace
> > TWOPI <- 8*atan(1)
> > x <- runif(200,0,TWOPI)
> y <- exp(sin(x)+rnorm(200)/2)
> a <- avas(x,y)
> /usr/lib/dld.sl: Unresolved symbol: pow_dd (code) from /home/buyuk/R-0.50-a1/lib/acepack.so
> ABORT instruction (core dumped)
>
The solution to this appears to be to add -lf2c to the end of the line in
the Makefile that begins
@$(LD) $(SHLIBLDFLAGS)....
This raises a general issue, though. What should be done with f2c
translations? Should we simply assume that everyone has f2c and link with
-lf2c or should we supply copies of routines that are needed in translated
libraries?
Thomas Lumley
------------------------------------------------------+------
Biostatistics : "Never attribute to malice what :
Uni of Washington : can be adequately explained by :
Box 357232 : incompetence" - Hanlon's Razor :
Seattle WA 98195-7232 : :
------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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