Skip to content
Prev 22910 / 398502 Next

link my own C library using Rcmd SHLIB

Hi Dr Ripley,

Thank you for your email!
Since I am a beginner on R, Could you tell me a little more, if you have
time?
First, where I can find makevar.win? I only saw "makefile" in my PC.
Second, how to set PKG_LIBS in that file?
I have read manaul agian, if I did something in this file, I can use -l or
-L flags to pass linker, am I right?

By the way, I have read your splus book, there you mentioned gnu complier.
I can use gcc, dllwrap tool. Can I do this way?

Now I am trying to firgure those out. I have some own package ( .a file),
and I want to use them when I use .C function.

Thanks,

 Xiaoping
On Sat, 24 Aug 2002 ripley at stats.ox.ac.uk wrote:

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