[R] fisher.test FEXACT error 7

Sundar Dorai-Raj sundar.dorai-raj at PDF.COM
Fri Jul 23 19:03:54 CEST 2004



Ken Edwards wrote:

> Hello,
> I have an error message that doesn't seem to make sense in that having 
> read the R documentation I was under the impression that R was able to 
> grab as much memory as it needed, and has been able to do so for some 
> time, so the advice given below about increasing the size of the 
> workspace is redundant.
> If I'm right, does anyone have a solution to the problem of the size of 
> LDSTP?  Or is this really a message about the limit of data size that 
> the function can handle?
> 
> I have tried the function using test data containing a similar number of 
> (randomly generated) data points, and it worked then. There are 258 data 
> points in two columns (i.e. 2 * 134), if that helps.
> 
> Any advice would be very much appreciated,
> 
> Many thanks,
> 
> Ken Edwards.
> 
> R script below:
> 
> fisher.test(testData)
> 
> Error in fisher.test(testData) :
>        FEXACT error 7.
> LDSTP is too small for this problem.
> Try increasing the size of the workspace.
> 

Maybe you should try increasing the workspace:

fisher.test(testData, workspace = 2e6)

--sundar




More information about the R-help mailing list