Re: [Rd] R-gui sessions end when executing C-code

2018-02-02 Thread William Dunlap via R-devel
SEXP eta = PROTECT(allocVector(REALSXP,H_c)); n_prot++; double *eta_c; eta_c = REAL(eta); for (i=0;i wrote: > Hi > > I'm trying to develop some C code to find the fixpoint of a contraction > mapping, the code compiles and gives the right results when executed in R. > However R-gui session

[Rd] R-gui sessions end when executing C-code

2018-02-02 Thread Jesper Hybel Pedersen
Hi I'm trying to develop some C code to find the fixpoint of a contraction mapping, the code compiles and gives the right results when executed in R. However R-gui session is frequently terminated. I'm suspecting some access violation error due to the exception code 0xc005 In the error repor