Dear all, 
I'd like to use the Rmath library for calling R functions in C code. I have no any experience in this. I am trying to read the "Writing  R extensions" manual but with no success. I searched the Web and archives but did not find appropriate example. To be specific, I am looking for an example of the .c file and .R file aimed to compute the integral of f(x)=x^2 from 0 to 1 using Rdqags?

I am running R 1.9.1 on Sun.
Much thanks for any comments/help. 
Vicky.  

	[[alternative HTML version deleted]]


