[R] Calling C Code from R
Gabor Csardi
csardi at rmki.kfki.hu
Wed Jul 4 14:19:27 CEST 2007
On Wed, Jul 04, 2007 at 05:15:15AM -0700, Deb Midya wrote:
> Gabor,
>
> Thank you very much for such a quick response.
>
> As I am new to this area, will you please explain where can I put SEXP
> func(SEXP a);
> in my program.
Deb, anywhere before calling it. (Well outside a function definition.)
Typically after the #include lines.
Or put all these prototypes into a header file called myfuncs.h
and add line
#include "myfuncs.h"
just after the other #include lines at the beginning of the file.
Gabor
> Once again, thank you very much for your quick response.
>
> Regards,
>
> Deb
>
--
Csardi Gabor <csardi at rmki.kfki.hu> MTA RMKI, ELTE TTK
More information about the R-help
mailing list