#12057: Upgrade R (r-project.org)
--------------------------------------------------+-------------------------
    Reporter:  vbraun                             |         Owner:  amhou       
                       
        Type:  enhancement                        |        Status:  closed      
                       
    Priority:  critical                           |     Milestone:  sage-4.8    
                       
   Component:  packages                           |    Resolution:  fixed       
                       
    Keywords:  R spkg r-project graphics PNG X11  |   Work_issues:              
                       
    Upstream:  N/A                                |      Reviewer:  Karl-Dieter 
Crisman, Jeroen Demeyer
      Author:  Volker Braun                       |        Merged:  
sage-4.8.alpha4                    
Dependencies:                                     |  
--------------------------------------------------+-------------------------

Comment(by kcrisman):

 Replying to [comment:32 jhpalmieri]:
 > Replying to [comment:31 vbraun]:
 > > I don't have a local OSX machine, so I can't debug it myself. Does it
 also happen if you start R and type in `capabilities("png")`?
 >
 > Yes.  It also reports `TRUE` for this.

 Wow, that is really unexpected.  Also weird, because I tested the entire
 library overnight on my local 4.8.alpha4 (for another ticket) and nothing
 happened like that, or I would have noticed this morning.
 {{{

 new-host-2:sage-4.8.alpha4 karl-dietercrisman$ ./sage -t
 devel/sage/sage/interfaces/r.py
 sage -t  "devel/sage/sage/interfaces/r.py"
          [13.6 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 13.6 seconds
 }}}
 Of course, I also get
 {{{
 > capabilities("png")
   png
 FALSE
 }}}
 Your problem is that someone Sage got compiled with png support!  It's not
 supposed to on Mac, we try to configure it to use (only) Aqua.  Hence the
 doctest being a little unusual:
 {{{
             sage: s = r.eval('capabilities("png")') # Should be on Linux
 and Solaris
             sage: t = r.eval('capabilities("aqua")') # Should be on all
 supported Mac versions
             sage: "TRUE" in s+t                      # optional --
 rgraphics
             True
 }}}
 My guess is you have something set in your preferences or elsewhere that
 caused R to pick up a system version of something.  In general, getting R
 to compile on Mac with png support is interesting and hackish - I can't
 find the page I'm looking for right now, but it's referenced somewhere on
 one of the previous "get graphics in R in Sage to work" Trac tickets.

 In other words, while not ideal, I wouldn't call this something to unmerge
 this new spkg for.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12057#comment:34>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to