Thanks for the replies.

kcrisman: 
I already installed xorg-dev, as sugested at dan-erik's blog. 
Using dev.off() gives me "null device     1"

Andrey:
Do you think it is possible to use the sage_salvus.py code in Sage Cell?

One more question, is there some log file for sage cell which I dig into?

-Benedikt

On Monday, October 26, 2015 at 12:13:08 PM UTC, Benedikt Magnússon wrote:
>
> Hi
>
> I wish to be able to plot in Octave/R inside a sagecell.
> Therefore, I just set up a sagecell server using the instructions here
> https://github.com/sagemath/sagecell
>
>
> I compiled my own sagecell server because when you use 
> https://sagecell.sagemath.org 
> you get the following when trying to plot in R:
> "Error in png() : X11 is not available"
>
> https://sagecell.sagemath.org/?z=eJwryMkv0UjWMNRRMNZRMNNRMNFRsNTUBABEDAT8&lang=r
> and in Octave you only get a Ascii plot
> https://sagecell.sagemath.org/?z=eJwryMkv0Yg21DGM1QQAFu8DVw==&lang=octave
>
> Using my own server plotting in R gives me nothing 
> (not even "Error in png() : X11 is not available")
> and Octave still gives me only Ascii.
>
> I have two related questions:
> 1. Is it possible to get R plots in sagecell?
> 2. Is it possible to get Octave non-ascii plots in sagecell?
>
> When I look at the log files (./sage/logs/pkgs/r-3.2.2.p0.log) it seems 
> that X11 and png is used:
> "using X11 ... yes" etc.  
> Btw I'm using xubuntu 15.10. 
>
> Cheers,
> Benedikt
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to