Re: [Rd] Running an expression 1MN times using embedded R

2009-09-03 Thread Saptarshi Guha
Oh!Thanks much. Worked perfectly. Hadn't realized the importance of -Wall. Regards saptarshi On Thu, Sep 3, 2009 at 7:27 PM, Simon Urbanek wrote: > > On Sep 3, 2009, at 7:15 PM, Saptarshi Guha wrote: > >> Hello, >> I'm evaluating this expression >> expression({ for(x in 1:5){ .Call('rh_status','

Re: [Rd] Running an expression 1MN times using embedded R

2009-09-03 Thread Simon Urbanek
On Sep 3, 2009, at 7:15 PM, Saptarshi Guha wrote: Hello, I'm evaluating this expression expression({ for(x in 1:5){ .Call('rh_status','x') }}) a million times from a program with R embedded in it. I have attached reproducible code that crashes with Program received signal SIGSEGV, Segmenta