title: Error in fisher.test() : FEXACT error 40. Out of workspace
body: <p>Error in fisher.test() : FEXACT error 40. Out of workspace.</p>
  
  <p>I have a two columns data with 16173 observation. When I performed fisher.test in R, it always shows error that it is out of space no matter how large I adjusted the workspace. My question is: Can fisher test handle sample size like this? Can I use chi Squared test as an alternative choice?</p>
  
  <p>Part of the data is shown below:</p>
  
  <pre><code>    A   B
  [1,]    0   0
  [2,]    0.02873563  0
  [3,]    0   0
  [4,]    0.10185185  0.10666667
  [5,]    0.05714286  0
  [6,]    0.25925926  0
  [7,]    0.02727273  0
  [8,]    0.125   0
  [9,]    0   0.04
  [10,]   0.14876033  0
  [11,]   0.61344538  0.2
  [12,]   0.24852071  0.01234568
  [13,]   0.20491803  0.03703704
  [14,]   0.20472441  0
  [15,]   0.09375 0
  [16,]   0.29661017  0
  [17,]   0.15254237  0.07228916
  [18,]   0.03278689  0
  [19,]   0.04891304  0
  [20,]   0.58378378  0.05194805
  </code></pre>
  
  <p>Thanks in advance.</p>