[R] Two questions about nmath
ripley at stats.ox.ac.uk
Fri May 31 15:58:36 CEST 2002
On Fri, 31 May 2002, Paola Lecca wrote:
> 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
I don't think R-help collectively gave you instructions. Credit where
credit is due (and ditto for blame), please.
> [root at my standalone]# cc -o test test.c -L/usr/local -lRmath
> /usr/local/libRmath.so: undefined reference to `log'
> Which is the problem now ?
The same as before. Did you actually try
? Do try it and see what you can learn from it.
> I did produce libRmath.so and then I did copy it in /usr/local. I did
A very strange place to put it: /usr/local/lib is the conventional place
for third-party libraries.
> add the path /usr/local in /etc/ls.so.conf, then I did run ldconfig as
> ./sbin/ldconfig -n /usr/local
> 2) Second question
> Where can I find documentation about Rmath ?
The README, the appropriate R manual, R-exts.texi etc, and in the source
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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