Hello,

So I took the easy way decided it was close enough to 0.  The user proceeded to 
run

robjects.r('''
         f <- function(r, verbose=FALSE) {
             if (verbose) {
                 cat("I am calling f().\n")
             }
             2 * pi * r
         }
         f(3)
         ''')

which was in "Introduction to RPY2" but instead of 18.85 kept on getting

<FloatVector - Python:0x2f32290 / R:0x2398078>

I'm not sure this has to do with that one test it failed after installation, or 
something else.  Does anybody know what might be causing this?

Thank you,

--Koji


On 2/15/2011 11:56 PM, Laurent wrote:
> This is testing for the method returning the eigen value decomposition of a 
> matrix.
>
> The unit test expects 0 (zero) but gets 9.8607613152626476e-32 (fairly 
> small). 
> You can either decide to accept this as close enough to zero and consider the 
> test passed, or investigate more what is your architecture / R install like. 
> Eigen value decomposition is using R's (so BLAS, if I remember correctly); I 
> don't think that this has been reported so far.
>
>
> HTH,
>
>
> Laurent
>
>
>
> On 15/02/11 23:06, Koji Yanagisawa wrote:
>> Dear RPY2'ers,
>>
>> I seem to have successfully installed 2.1.9 but 1 test fails in the testing
>> phase.  Not quite sure what "testEign" means.  Has anyone run into this in 
>> the
>> past?  I'm using Python 2.6.4 and R 2.9.1 (I know it's not 2.10 but please 
>> bear
>> with me).  Below is the output.
>>
>> ## Begin output ##
>>
>> # python -m 'rpy2.tests'
>> rpy2 version 2.1.9
>> ...................................................................................................................................................................................F................................................................................................
>>  
>>
>> ======================================================================
>> FAIL: testEigen (rpy2.robjects.tests.testArray.MatrixTestCase)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>     File
>> "/research/apps/python/lib/python2.6/site-packages/rpy2/robjects/tests/testArray.py",
>>  
>>
>> line 93, in testEigen
>>       self.assertEquals((2, 0)[i], val)
>> AssertionError: 0 != 9.8607613152626476e-32
>>
>> ----------------------------------------------------------------------
>> Ran 276 tests in 3.363s
>>
>> FAILED (failures=1)
>>
>> ## End output ##
>>
>> Your advice appreciated.
>>
>> Thank you,
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> rpy-list mailing list
>> rpy-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to