[R] Use of libmath.a

Jinsoo Hwang jshwang at stat.inha.ac.kr
Tue Jul 25 13:46:45 CEST 2000


This is not directly related R related questions, but ... :-)

I compiled R-devel(1.20?) on solaris2.6 system.
Can I put the libmath.a library into my system library directory(say,
/usr/local/lib) like other C libraries and use the functions defined
there(libmath.a) from other programs by linking it?

For example,

> cc  -I/usr/local/lib/R/include -lmath test.c    ???

But I got undefined symbol error.
I did check libmath.a by
> nm -o libmath.a | more
and the functions exist.

Any help on this matter ?
Thanks in advance.

Jinsoo(jshwang at stat.inha.ac.kr)

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