Skip to content
Prev 75342 / 398502 Next

include C functions from nmath in my own C functions

First, please read the posting guide: it says C programming questions 
should go to R-devel so it seems you have not done so.

Second, you have not told us your OS nor what you did to run your code, so 
we have to guess. But sin etc are not 'R functions' but C mathematical 
functions, and the quess is that you failed to link against libm.  Most C 
compilers will do that for you automatically or do not even have a 
separate libm, so telling us your OS (as the posting guide does ask) was 
important.

Please seek local C programming help on how to do this on your OS.
On Wed, 10 Aug 2005, yyan liu wrote: