Is there some way to do this other than going to
Evaluation -> Quit kernel and firing a new one up?
In the days when computers were slower, and the kernel took a long time to start up (in wall time), a little package was made to help with cleaning up without having to restart the kernel.
This package is still included with Mathematica, and is found in
You can load it with
When the function
The package also has a
That said, I recommend
It is also possible to assign a keyboard shortcut to quitting the kernel. See here on how to do it.
I use a shortcut key Ctrl+Q for
You will be editing
Add this to that file being careful to respect commas:
For version 10 I am using:
If you do not want a confirmation dialog please see Rolf Mertig's code in:
There are other keyboard shortcuts you may find useful. See these for more:
Alternatively you may want to use a new context for a Cell or Notebook:
In Mathematica, the current
I have the following commands in my
I typically use
Note the difference between
I just found that doing