[R] Two questions about nmath

Paola Lecca plecca at kirk.science.unitn.it
Fri May 31 15:18:12 CEST 2002


Hi !

1) First question.

Excuse me for trouble with the same question. I still have problems
with the compilation of test.c in src/nmath/standalone.

I did follow the instructions you gave me but I still receive this message


[root at my standalone]# cc -o test test.c -L/usr/local -lRmath
/usr/local/libRmath.so: undefined reference to `log'
/usr/local/libRmath.so: undefined reference to `sqrt'
/usr/local/libRmath.so: undefined reference to `ceil'
/usr/local/libRmath.so: undefined reference to `floor'
/usr/local/libRmath.so: undefined reference to `cos'
/usr/local/libRmath.so: undefined reference to `sin'
/usr/local/libRmath.so: undefined reference to `pow'
/usr/local/libRmath.so: undefined reference to `sinh'
/usr/local/libRmath.so: undefined reference to `log10'
/usr/local/libRmath.so: undefined reference to `exp'
/usr/local/libRmath.so: undefined reference to `tan'
/usr/local/libRmath.so: undefined reference to `atan'
/usr/local/libRmath.so: undefined reference to `hypot'
collect2: ld returned 1 exit status

Which is the problem now ?

I did produce libRmath.so and then I did copy it in /usr/local. I did
add the path /usr/local in /etc/ls.so.conf, then I did run ldconfig as
follows

./sbin/ldconfig -n /usr/local

2) Second question
 Where can I find documentation about Rmath ?

Thanks a lot,
Paola.

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