Seems you're missing the required header(s). Can't find the example in
the extensions manual but you probably need
#include
or
#include
HTH,
Peter
On Wed, Mar 14, 2012 at 11:03 PM, Erin Hodgess wrote:
> Dear R People:
>
> Here is something that I am sure is very simple. I'm just trying t
Do you really expect is to know how to figure out the error if you don't give
us the code that the error is pointing at (or the code preceding the error,
which may be at fault)? Please think before posting.
---
Jeff Newmiller
Hi Erin,
If you are just starting with including compiled code, I would highly
recommend the Rcpp + inline packages. I attached a small example of
how it works, but basically you get to inline C++ code in R files.
Cheers,
Josh
P.S. I wrote this snippet awhile ago when I did not know much about
G'day Erin,
On Thu, 15 Mar 2012 01:03:59 -0500
Erin Hodgess wrote:
> What is wrong, please?
Missing
#include
#include
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 com
4 matches
Mail list logo