Continuation of my previous message:(maybe this information could be relevant) I run the same script written in R calling the same C++ function. I got the error Segmentation fault (core dumped) I am getting this error with gcc version 2.95.3 and R version 1.4.1 running in Solaris. Why? How can I avoid it? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._