Re: [Rd] Segfault while calling fexact in C

2012-03-16 Thread Nima Mohammadi
On Fri, Mar 16, 2012 at 3:36 PM, Duncan Murdoch wrote: > I don't think fexact is mentioned in Rmath.h, so it's not a function > designed to be called from a standalone program. > > Duncan Murdoch > > Well, Searching the net, I found out that some else has already un-R-ifyied the fexact.c code. Rep

Re: [Rd] Segfault while calling fexact in C

2012-03-16 Thread Duncan Murdoch
On 12-03-16 5:27 AM, Nima Mohammadi wrote: Hi folks, I'm trying to call an R function (fisher.test) in my program for like a billion times! Though my program is in Python and I feel that using rpy2 to interface R to python doesn't give me satisfactory performance. So I looked into R code and foun

[Rd] Segfault while calling fexact in C

2012-03-16 Thread Nima Mohammadi
Hi folks, I'm trying to call an R function (fisher.test) in my program for like a billion times! Though my program is in Python and I feel that using rpy2 to interface R to python doesn't give me satisfactory performance. So I looked into R code and found out that fisher.test is actually a wrapper