Watch this Author's files
I had the same problem as others. My command was:
And the result was the error:
'Problem evaluating command c<-fisher.test(a,b)$p.value.
Invoke Error, Dispatch Exception: Object is static; operation not allowed'
My solution was to 'write' down the command to add the data. Then it worked perfectly.
In my case:
eval(['evalR(''a<-c(' X ')'')'])
I thought this (ugly) trick might help some people here.
I think there just a mistake in the comments:
% If Sig=1, then variables in XVector and YVector are independent.
% If Sig=0, then variables in XVector and YVector are dependent.
Wouldn't it be the opposite since a significant p-value will get to (as said in Wolfram Mathworld) a "statistically significant association" ?