[Rd] simple C function segfaults

Berwin A Turlach berwin at maths.uwa.edu.au
Tue Feb 21 06:03:08 CET 2006


>>>>> "BK" == Bernd Kriegstein <kriegstn at yahoo.de> writes:

    BK> void pico ( double *y, int n, int m )
                               ^^^^^^^^^^^^^
Everything is passed from R to C as pointer, so these should be
pointers.

Hope this helps.

Cheers,

        Berwin



More information about the R-devel mailing list