[R] Handling R Objects in C

pascal dessaux pascal.dessaux at noos.fr
Thu Feb 26 15:06:49 CET 2004


Hello

I want to handle R from a C/C++ project developped with Microsoft Visual
C++.Net

I put a multiproject solution,and one project is a win32 and dedicated for R
manipulation;

When I put in this project the example code from "Written R extension" 4.7
Handling R objects in C p39:
#include <R.h>
#include <Rdefines.h>
SEXP ab;
PROTECT(ab=NEW_NUMERIC(2)) ;
....

I got an unresolved external in the link, because I don't know what I need
to declare as an external library,I searched in the documentation but I
didn't find


Could you please help me


Thank a lot by advance

Pascal




More information about the R-help mailing list