[sage-support] Re: In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread leif
William Stein wrote: On Sun, Jun 1, 2014 at 6:06 PM, Fred Gruber wrote: Thanks William If I could just run an R command in the background and then just do sink [sync?] to sink() is an R command. -leif redirect the outputs to a log file then I would be able to check the log whenever I wan

Re: [sage-support] In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread William Stein
On Sun, Jun 1, 2014 at 6:06 PM, Fred Gruber wrote: > Thanks William > If I could just run an R command in the background and then just do sink > [sync?] to > redirect the outputs to a log file then I would be able to check the log > whenever I want and that would work too. But from your other pos

Re: [sage-support] In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread Fred Gruber
Thanks William If I could just run an R command in the background and then just do sink to redirect the outputs to a log file then I would be able to check the log whenever I want and that would work too. But from your other post it seems that this is algo difficult... On Sunday, June 1, 2014 8

Re: [sage-support] In Sage Notebook how to run a process in the background

2014-06-01 Thread William Stein
On Sun, Jun 1, 2014 at 5:26 PM, Fred Gruber wrote: > Hello > Is it possible to run a process in the background in a sage notebook? > > I would like to run a process that takes a long time in the background and > just print the status in a log file. This way I could continue working on > the notebo

Re: [sage-support] In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread William Stein
On Sun, Jun 1, 2014 at 5:20 PM, Fred Gruber wrote: > Hello > I have noticed that when in the notebook in R mode when you run a function > that takes a long time and prints status at every loop this output will not > show in the cell output window until the end of the operation. If I'm in > python

[sage-support] In Sage Notebook how to run a process in the background

2014-06-01 Thread Fred Gruber
Hello Is it possible to run a process in the background in a sage notebook? I would like to run a process that takes a long time in the background and just print the status in a log file. This way I could continue working on the notebook on other stuff and check the log file once in a while. H

[sage-support] In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread Fred Gruber
Hello I have noticed that when in the notebook in R mode when you run a function that takes a long time and prints status at every loop this output will not show in the cell output window until the end of the operation. If I'm in python mode and run a print statement in a for loop we get to see

Re: [sage-support] Re: Only dash some edges in a graph?

2014-06-01 Thread Tom Boothby
g = Graph([(i,(i+1)%6,i%2) for i in range(6)]) h = Graph([(i,(i+2)%6,i%2) for i in range(6)]) k = Graph([(i,(i+3)%6,i%2) for i in range(6) if i<3]) pos = graphs.CycleGraph(6).get_pos() g.set_pos(pos) h.set_pos(pos) k.set_pos(pos) p = g.plot(color_by_label={0:'blue', 1:'red'}, edge_style='dashed', v

Re: [sage-support] Re: Only dash some edges in a graph?

2014-06-01 Thread Tom Boothby
If you partition the edges into several graphs, you can sum their plots. Just remember axes=false when you show(). On Sat, May 31, 2014 at 8:07 AM, Ursula Whitcher wrote: > On 5/30/2014 11:47 PM, P Purkayastha wrote: >> >> Perhaps you can try using different colors instead of different line >> s

[sage-support] Re: Error in "warning" directive when installing

2014-06-01 Thread leif
Jose Guzman wrote: When trying to install Sage 6.2 from sources I got the following error: File "/home/jguzman/sage-6.2/src/doc/common/builder.py", line 1477, in getattr(get_builder(name), type)() File "/home/jguzman/sage-6.2/src/doc/common/builder.py", line 276, in _wrapper ge

[sage-support] Error in "warning" directive when installing

2014-06-01 Thread Jose Guzman
When trying to install Sage 6.2 from sources I got the following error: File "/home/jguzman/sage-6.2/src/doc/common/builder.py", line 1477, in getattr(get_builder(name), type)() File "/home/jguzman/sage-6.2/src/doc/common/builder.py", line 276, in _wrapper getattr(get_builder(do