Ask Your Question
1

How to evaluate all cells in sequence with one click in cloud.sagemath?

asked 2015-11-20 08:59:46 +0100

penguian gravatar image

I just looked at the question "How to evaluate all cells with one click in cloud.sagemath?" and the answer was to use "Select all". I tried doing that on one of my worksheets in SageMatchCloud and the response was that many of the cells gave error messages saying that something defined in an earlier cell was undefined. How do I ask the worksheet to run all cells sequentially?

edit retag flag offensive close merge delete

Comments

It should evaluate the sequentially. Make a link to your file that doesn't work available (either here or by email a link to help@sagemath.com). I don't understand how the evaluation could possibly not be in order unless there is a major bug in the Codemirror editor. The code to get the cells to evaluate is here: https://github.com/sagemathinc/smc/bl... and the comment there "These will always be sorted, and never overlap (overlapping selections are merged)." is straight from the Codemirror docs.

William Stein gravatar imageWilliam Stein ( 2015-11-20 13:35:20 +0100 )edit

I have had the same issue at times.

calc314 gravatar imagecalc314 ( 2015-11-20 20:54:51 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-20 12:48:33 +0100

haraldschilly gravatar image

To select all, place your cursor into any input cell and then press CTRL+a ... this selects all cells from top to bottom. Then click on the green Run button.

Still, my guess is, your worksheet has some missing definitions?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-20 08:59:46 +0100

Seen: 521 times

Last updated: Nov 20 '15