#18229: Upgrade R to 3.2.0
-------------------------------------+-------------------------------------
       Reporter:  charpent           |        Owner:  charpent
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.7
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  r-project          |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  ab208a4e69834c786a2f0d4ff5a2626776db4d62
  u/charpent/upgrade_r_to_3_1_3      |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by charpent):

 Replying to [comment:11 kcrisman]:
 > I wouldn't be concerned about ipynb graphics since that is new (I mean,
 I'm not, others might be).  Has plotting from the command line ever worked
 without setting a graphics viewer (there is a name for this in R, I just
 forget it now).

 It's known as a "graphic device" in R docs.

 To be clear,
 {{{
 r("plot(rnorm(1000),rnorm(1000))")
 }}}
 does nothing (on command line and in ipynb). Returns NULL
 {{{
 r("X11();plot(rnorm(1000),rnorm(1000))")
 }}}
 opens an X11 window (the R graphic device) and displays the cloud in this
 window (again on command line and in ipynb). Returns NULL, nothing
 displayed '''in the notebook'''.

 Interestingly, neither {{{r.plot(r.rnorm(1000),r.rnorm(1000))}}} nor
 {{{r.X11();r.plot(r.rnorm(1000),r.rnorm(1000))}}} do anything on the
 command line (prints NULL, then the named vector (c("null device"=1). or
 in the notebook (ditto except that NULL is not printed).

 I don't remember having ever used R from sage on the command line (my
 favorite interface was emacs  and ess, for obvious reasons, but The Sage
 notebook was sometimes handy, and ipynb appears more and more attractive,
 since %%R seems to work).

 HTH,

--
Ticket URL: <http://trac.sagemath.org/ticket/18229#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to