Tagged Questions

For questions about persistence, i.e., storing variable values or function definitions beyond the lifetime of individual Mathematica sessions.

learn more… | top users | synonyms

-1
votes
0answers
78 views

Using Mathematica in better way? [duplicate]

this is general question about mathematica. We all know when we use mathematica, it does work by ...
4
votes
3answers
80 views

Save associations to a file and reload

I have many (say 2 for now) associations that I want to save to a file ...
3
votes
1answer
112 views

How to preserve In/Out tags like what they did in documentation files

Every evaluation generates a pair of In[n]/Out[n] signs tagged before actual input and output. Like the following: If I save the file, close it and re-open it, that In[n]/Out[n] signs will ...
4
votes
1answer
159 views

DynamicModule inconsistent behavior; was: DynamicModule persistent UI changes

Update: I'll restate the question in hopefully more terse and clearer terms. To illustrate the issue, run this and save the resulting notebook: ...
7
votes
4answers
216 views

Are persistent variable values after the kernel is stopped possible?

Is there a way to make values of variables persistent even after the kernel is stopped? Example, if I were to set up a list for which I append new list items (such as a check ledger, as a basic ...
28
votes
4answers
3k views

Saving data inside a notebook so that I don't have to run it again?

Piggybacking on this, I am somehow not fully convinced that I can't save data generated by a calculation in a mathematica file so that when I re-launch said file, I wouldn't have to run my ...
24
votes
5answers
10k views

How do I clear all user defined symbols?

Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?
33
votes
3answers
2k views

Saving Mathematica kernel state?

If I save a notebook, I only save what I see. That is, if I close Mathematica and reopen the notebook later, all previous calculations are lost, except for those things I've output. Now I know that ...