[R] segmetation fault

From: Elizabeth Lawson <lizzylaws_at_yahoo.com>
Date: Thu 29 Dec 2005 - 02:43:41 EST


Hey,    

  I don;t know if anyone has come across this error before...    

  I am running R on the terminal of my MAC OS X 10.3.4 and I have written C code and compiled it using   R CMD SHLIB mycode.c
  There were no problems in compiling so I now have mycode.o and mycode.so.   I used dyn.load("mycode.so") and again, no problems. But when I try to use the code .C("mycode",x) I get the error Segmentation fault and R shuts down. Any ideas as to where my problem could be?    

  Any ideas or help would be appreciated!    

  Thanks,    

  Elizabeth Lawson                 


 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Dec 29 02:49:24 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:42 EST