#7665: Make support for R graphics
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.3
Component: graphics | Keywords: plot, R, graphics, statistics
Author: Karl-Dieter Crisman | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Description changed by kcrisman:
Old description:
> This is probably hard. It would increase our potential user base,
> though, as well as make it possible for people to use Sage in virtually
> any college course very easily (with the exception of most geometry
> courses, but a Geogebra plugin would do that).
>
> Examples from the recommended (not currently installed) MASS package; one
> can certainly come up with one's own examples, this just shows what isn't
> supported and the current error messages.
> {{{
> sage: r.library('MASS')
> sage: r.library('lattice')
> sage: r.bwplot('MPG.highway ~ Origin', data = 'Cars93')
>
> Warning message:
> In grid.newpage() : No png support in this version of R
>
> sage: r.histogram('~ MPG.highway',data='Cars93')
>
> (process:46382): Pango-WARNING **: failed to create cairo scaled font,
> expect ugly output. the offending font is 'Helvetica 9'
>
> (process:46382): Pango-WARNING **: font_font status is: out of memory
>
> (process:46382): Pango-WARNING **: scaled_font status is: out of memory
>
> (process:46382): Pango-WARNING **: shaping failure, expect ugly output.
> shape-engine='BasicEngineFc', font='Helvetica 9', text='M'
>
> (process:46382): Pango-WARNING **: failed to create cairo scaled font,
> expect ugly output. the offending font is 'Helvetica 7.1982421875'
>
> (process:46382): Pango-WARNING **: font_font status is: out of memory
>
> (process:46382): Pango-WARNING **: scaled_font status is: out of memory
>
> (process:46382): Pango-WARNING **: shaping failure, expect ugly output.
> shape-engine='BasicEngineFc', font='Helvetica 7.1982421875', text='0'
>
> sage: r.plot('MPG.highway ~ Weight', data='Cars93')
> NULL
> }}}
New description:
This would increase our potential user base, though, as well as make it
possible for people to use Sage in virtually any college course very
easily (with the exception of most geometry courses, but a Geogebra plugin
would do that).
Examples follow; one can certainly come up with one's own examples, this
just shows what isn't supported and the current error messages.
{{{
sage: r.library('MASS')
sage: r.library('lattice')
sage: r.bwplot('MPG.highway ~ Origin', data = 'Cars93')
Warning message:
In grid.newpage() : No png support in this version of R
sage: r.histogram('~ MPG.highway',data='Cars93')
(process:46382): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'Helvetica 9'
(process:46382): Pango-WARNING **: font_font status is: out of memory
(process:46382): Pango-WARNING **: scaled_font status is: out of memory
(process:46382): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='Helvetica 9', text='M'
(process:46382): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'Helvetica 7.1982421875'
(process:46382): Pango-WARNING **: font_font status is: out of memory
(process:46382): Pango-WARNING **: scaled_font status is: out of memory
(process:46382): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='Helvetica 7.1982421875', text='0'
sage: r.plot('MPG.highway ~ Weight', data='Cars93')
NULL
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7665#comment:7>
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.