Hi, I am in the situation where I could get my code run correctly under GNU C, but it produced different (strange) results while running in R . ( I use .C to call the function). May I get some general advice on how could I do step by step debug of source code in R ? Thanks