Hello again Peter.

I noticed that I didn't had Numeric installed, now that part is solved, but
it didn't solve the problem.

I still get a list of lists not an array:

>>> c1=[386,385,383]
>>> c2=[113,117,117]
>>> c=r.cbind(c1,c2)
>>> c
[[386, 113], [385, 117], [383, 117]]
>>> r.chisq_test(c)
rpy.RException: Error in any(x < 0) : the object (list) can not be coerced
to 'double'

I get the same error trying this:

>>> r.chisq_test(array(c))

To be more precise I'm using a W2K computer with:

* R2.5 & R2.4.1 (though I'm using R2.4.1 for the tests)
* Numeric-24.2.win32-py2.4
* rpy-1.0-RC2.win32-R2.0.0-R-2.4.1-py2.4
* ActivePython 2.4.3 Build 11

I'm afraid I'm definitively lost...

Thanks in advance.

-- 
Eloi Ribeiro

eloi.ribeiro[at]gmail.com
http://eloi-ribeiro.blogspot.com

Spain, Valencia
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to