>>>>> "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