Displaying 1 result from an estimated 1 matches for "r_tocconverter".
2005 May 12
0
Patch to address (PR#7853) -- tested briefly, seems to
...ithf@amnis.com wrote:
> --- dotcode.c 2004-09-05 02:31:57.000000000 -0700
> +++ /usr/local/src/R-2.0.0/src/main/dotcode.c 2005-05-11
> 12:24:11.000000000 -0700
> @@ -190,6 +190,7 @@
> static void *RObjToCPtr(SEXP s, int naok, int dup, int narg, int Fort,
> const char *name, R_toCConverter **converter,
> int targetType)
> {
> + unsigned char *rawptr;
> int *iptr;
> float *sptr;
> double *rptr;
> @@ -228,6 +229,16 @@
> }
>
> switch(TYPEOF(s)) {
> + case RAWSXP:
> + n = LENGTH(s);
> + rawpt...