Displaying 1 result from an estimated 1 matches for "directory_of_tool".
Did you mean:
directory_of_tools
2009 Jan 11
1
Makevars
...file
which needs to be run via R.
I include the header file via #include tools.h .
What I understood is that I need another file which specifically links
the header file
with the tools.c files (or .o file?). My questions are thus:
1. Can I just create a file Makevars with the variable
PKG_LIBS=-L/directory_of_tools -l/tools?
2. Does this file need to be located in the same directory as main.c?
3. When I then run the command R CMD SHLIB it does not make use of
Makevars. So what do I need to add?
4. Does tools.c need to be a shared object as well?
Thanks a lot!
Hadassa
--
Hadassa Brunschwig
PhD Student
Depa...