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 0xc0000005
In the error report windows 10 gives me.
It is the first time I'm writing any C-code so I'm guessing I have done something really stupid. I have been trying to debug the code for a couple of days now,
But I simply can't figure out what generates the problem. Could it be something particular to my windows set up and security stuff?
I'm in the process of reading Writing R Extensions and Hadley Wickham's Advanced R but might have missed something.