R graphics/plots in sagenb
Are graphics in R on sagenb supported? I only get placeholder icons for output.
Are graphics in R on sagenb supported? I only get placeholder icons for output.
Short answer: yes, they are.
Long answer: it depends on the precise platform and how your R was compiled, what was on it.
Edit: Turns out that the poster actually just needed to create a graphics device and turn it off - see this documentation, where this is implicit. Hope this helps someone!
I got the same problem. I just followed: http://ask.sagemath.org/question/192/compiling-r-with-png-support installed all the libraries, compiled the R and r.eval('capabilities("png")') returns true, and r.eval('capabilities("X11")') returns False. When I plot something in R, I get a broken icon (I am running Sage 5.9 via ssh from a remote server).
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-09-14 22:43:13 +0100
Seen: 774 times
Last updated: Oct 16 '13