> 1) This is the wrong list: please read the posting guide.
> 
> 2) You cannot just leave out arguments in C calls, so it seems that you 
> need help with C programming rather than R.  If you include the 
> appropriate headers this will be checked, so I guess you have not.

Dear Dr. Ripley,
  Thank you for the reply. I was wondering maybe someone has tried
similar things using the C code in R base.   
  I included the same header as the original code "integrate.c", except 
#include <R_ext/Applic.h> has been changed to "Myapplic.h" to use my
definition of 
typedef void integr_fn(double *x, int n). 

I did not simply leave out arguments in the C calls, but redefined all
functions involving "environment" with one less parameter. 

Thank you.

regards,
Jean

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to