At present, I do this by manually setting every cell in a notebook to be Initialization cell. There must be a better way! When I finish work one day and re-open the notebook the next day, I want all the cells to be evaluated.
1 Answer
If you want the entire notebook converted to Initialization cells, Ctrl-A the notebook, selecting all the cells and then Ctrl-8 to convert them all to Initialization cells.
DumpSave[]
to save all the results andGet[]
to reload them. You can save all the definitions (of variables and functions) in a whole context"Global`"
might be appropriate for some workflows. Or you could work on a project in a context you define. $\endgroup$