Re: [Rd] Garbage collector crashes after calling a C function

2007-03-07 Thread Sole Acha, Xavi
Sorry, that was a mistake. You are right Antonio, I wanted to say the "-g" flag. Xavi. -Mensaje original- De: Antonio, Fabio Di Narzo [mailto:[EMAIL PROTECTED] Enviado el: dimecres, 7 / març / 2007 13:00 Para: Sole Acha, Xavi CC: r-devel@stat.math.ethz.ch Asunto: Re: [R

[Rd] Garbage collector crashes after calling a C function

2007-03-07 Thread Sole Acha, Xavi
Dear listers, a few days ago I asked a question about a problem I had with a C function programmed by myself to be called from R. Thanks to your help, I have been able to look a bit further into it, so now I can be a bit more specific when telling what happens. The fact is that, when my

[Rd] R unstable and crashes after executing .C

2007-02-21 Thread Sole Acha, Xavi
Dear R listers, I have developed a C function to be executed from R through the ".C" interface. After doing dyn.load, the function executes properly and I get the results. However, after executing my function, R seems to get unstable and crashes (giving a segmentation fault and exiting) when