On Jun 7, 2012, at 12:52 , Nouedoui Laetitia wrote:

> Hi Everyone,
> 
> This is my first message on this discussion list.
> I create a R function which includes a .C function. I didn't get any error 
> neither from "C side", nor from "R side". I tried to put proper type in R.
> 
> But the problem is that I get an abrupt closure of R, with the following 
> message: " R for Windows GUI front-end encountered a problem and needs to 
> close " .
> 
> Does anyone have an idea about where this abrupt closure come from?

Usually, the C code did something disastrous like writing to memory it doesn't 
own. First step to find out what happened is to run the same code from Rterm, 
second step is to learn how to use a debugger (which I have so far avoided 
having to do under Windows, so don't ask me about it). 



> 
> Thank you.
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to