Yes, I am sure that you have hit on the problem.  Let me know what you come 
up with.

On Wednesday, July 19, 2017 at 1:23:00 PM UTC+2, Thomas Judson wrote:
>
> The following code works in CoCalc
>
> cases <- c(36, 531, 4233, 8682, 7164, 2229, 600, 164, 57, 722, 1517, 1828, 
> 1539, 2416, 3148, 3465, 1440)
> deaths <- c(0, 0, 130, 552, 738, 414, 198, 90, 56, 50, 71, 137, 178, 194, 
> 290, 310, 149) 
> plot(ts(cases), col="red", main="Influenza Epidemic")
> lines(ts(10*deaths),col="blue”)
>
> However, I get the following error when I try to plot this in a Sage cell
>
> Error in plot.new() : cairo error 'error while writing to output stream'
> Error in plot.xy(xy.coords(x, y), type = type, ...) : 
>   plot.new has not been called yet
>
>
> I may or may not get the plot.
>
>
> Other R plots seem to work in the Sage cells.  Any ideas?
>
>
> Tom
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/491b2f34-ddad-48c9-b4ec-90d74fa5c243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to