I'm afraid I haven't quite got the hang of this yet. Here's a Hello
World:
#include
#include
#include
#include
extern int R_running_as_main_program; /* in ../unix/system.c */
int main(int ac, char **av)
{
SEXP aleph, beth;
// R_running_as_main_program = 1; // A
//
Dear All,
I've read the manual on "Writing R Extensions" and in particular the
part on calling R from C. (Most of the manual is about calling C
from R, not the other way around.)
The good news is that I can now call _some_ R from C, specifically
the R functions which have C header file
2 matches
Mail list logo