[R] replicating C example from the Extensions Manual problem
Berwin A Turlach
Berwin.Turlach at gmail.com
Thu Mar 15 07:25:08 CET 2012
G'day Erin,
On Thu, 15 Mar 2012 01:03:59 -0500
Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> What is wrong, please?
Missing
#include <R.h>
#include <Rinternals.h>
In particular the latter is defining R_len_t. Guess that code snippet
in the manual is only showing the code of the function, but not the
complete file that needs to be compiled. :)
HTH.
Cheers,
Berwin
More information about the R-help
mailing list