5
$\begingroup$

I am new to Mathematica and hope this is not something very obvious.

Whenever I start a new session on Mathematica and try to work on a previously saved file, Mathematica shows me the error message I have attached here. Regardless of what I choose here, the file wouldn't work properly. Can someone please tell me how to fix this?

Thank youenter image description here

$\endgroup$
3
  • $\begingroup$ Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory tour now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. $\endgroup$
    – bbgodfrey
    Jul 4 at 23:43
  • $\begingroup$ Obtain some understanding of this message by reading InitializationCell in the documentation. However, because your notebook does not work properly no matter which button you select, there may be a problem in it that has nothing to do with Initialization Cells. I recommend that you provide more details, like what are the symptoms of the notebook not working properly. $\endgroup$
    – bbgodfrey
    Jul 4 at 23:50
  • $\begingroup$ Maybe nitpicking, but that isn't an error message. $\endgroup$ Jul 5 at 11:48
2
$\begingroup$

The message about initialization cells isn't an error. Initialization cells are specially formatted cells that you can choose to evaluate all at once before anything else when you get this message.

As for the notebook not working, it is a little hard to advise without knowing what's in the notebook. Still, make sure you evaluate the cells in the right order. If you want to evaluate individual cells, select the cell by clicking on their brackets on the right and press (Shift+Enter). Depending on what's in the notebook, you might want to evaluate all the cells in the notebook at once by going to the Evaluation menu at the top and clicking "Evaluate Notebook."

$\endgroup$
1
  • $\begingroup$ Thank you for the informative response! This is really helpful! Everything seems to be working well now! $\endgroup$ Jul 5 at 1:28
3
$\begingroup$

First, select all the input cells on the right side, like this:

enter image description here

Then, apply Ctrl+8 and save changes.

$\endgroup$
3
  • $\begingroup$ Thanks so much! This is helpful!! $\endgroup$ Jul 5 at 1:28
  • $\begingroup$ You're welcome and greetings, Susan! :) $\endgroup$ Jul 5 at 1:47
  • 2
    $\begingroup$ You could add an explanation on what this actually does, i.e. toggling initilaization cells (which are evaluated once you run anything in the notebook) $\endgroup$ Jul 5 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.