Managing Computations in Notebooks

The Wolfram Language's sophisticated notebook paradigm provides a uniquely powerful way to manage, organize, document, and present computations—from a few input and output lines to industrial-size applications.

Executing Computations

(Key1[shift, enter]) — evaluate the current cell

(Key2[ctrl, shift, enter]) — evaluate the current selection in place

Aborting, Interrupting & Debugging

(Key1[alt, .]) — abort a computation

(Key1[alt, ,]) — interrupt a computation, entering a subsession

(MenuGrayLink[Debugger, paclet:ref/menuitem/Debugger]) — start the debugger

Arranging Computations in Notebooks

(Key1[ctrl, l]) — copy down an input line ((MenuGrayLink[Insert ▶ Input from Above, paclet:ref/menuitem/InputFromAbove]))

(Key2[ctrl, shift, l]) — copy down an output line ((MenuGrayLink[Insert ▶ Output from Above, paclet:ref/menuitem/OutputFromAbove]))

double-click input cell bracket — hide the output to a computation

double-click output cell bracket — hide the input to a computation

Kernel Management

(MenuGrayLink[Quit Kernel, paclet:ref/menuitem/QuitKernel]) — quit kernel, leaving the front end running

(MenuGrayLink[Notebook's Kernel, paclet:ref/menuitem/NotebookKernel]) — specify the local or remote kernel to use for a notebook

(MenuGrayLink[Notebook's Default Context, paclet:ref/menuitem/NotebookDefaultContext]) — how much to localize variables in each window

(MenuGrayLink[Initialization Cell, paclet:ref/menuitem/InitializationCell]) — a cell to evaluate when the notebook is opened

(RefLink[NotebookAutoSave, paclet:ref/NotebookAutoSave]) — whether to automatically save after each computation

(OrangeLink[Session History », paclet:guide/WolframSystemSessionHistory])