Ticket #9958: trac_9958_fix_rpy.patch

File trac_9958_fix_rpy.patch, 605 bytes (added by fbissey, 9 years ago)

numerical noise in interface/r.py updated for R-2.14.0

  • sage/interfaces/r.py

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1323832776 -46800
    # Node ID 8aa9929b74b0636110ab58ba4b59ede1d4e15b9c
    # Parent  b72663c760492cc8c360d328a6d370c8f88d2069
    trac 9958: numerical noise in interface/r.py following upgrade to R-2.14.0
    
    diff --git a/sage/interfaces/r.py b/sage/interfaces/r.py
    a b  
    171171
    172172    sage: rr = r.dnorm(r.seq(-3,3,0.1))
    173173    sage: sum(rr._sage_())
    174     9.97721251689810...
     174    9.9772125168981...
    175175
    176176Or you get a dictionary to be able to access all the information::
    177177