G'day Erin,

On Thu, 15 Mar 2012 01:03:59 -0500
Erin Hodgess <erinm.hodg...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to