Skip to main content

Questions tagged [persistence]

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

2 votes
0 answers
47 views

I am trying to construct a version of LocalTimeZone that works in CDF files without internet access. Timezone data is available in the form of ShapeFiles, which Wolfram supports. I have acquired a ...
Spencer Rugaber's user avatar
3 votes
0 answers
193 views

Due to memory buildup issues, I need to re-start kernel, keeping/reloading one variable and continue calculation. Say, I have a variable tst={1,2,3} and I want to ...
Anton's user avatar
  • 2,072
0 votes
0 answers
22 views

I often define functions like this in my notebooks: ClearAll[f]; f[a_, b_, c_] := f[a, b, c] = f[b, a, c] = somethingExpensive[a, b, c] where I use memoization to ...
JEM_Mosig's user avatar
  • 3,053
6 votes
1 answer
180 views

For certain persistence locations, such as "Notebook" or "FrontEndSession", ...
Deniz's user avatar
  • 329
0 votes
1 answer
142 views

On every nth (2) evaluation autoEval should invoke a function check[]. The thing which is supposed to listen for all ...
Jules Manson's user avatar
  • 2,507
4 votes
1 answer
111 views

I create data table in my notebook by importing a excel spreadsheet using: ...
ALEXANDRE ARARIPE's user avatar
1 vote
1 answer
83 views

Wanting to persist credentials entered via a dialog. While doing so I wanted to scope them by prepending a type to the symbol name. Came across this behavior which I find odd: ...
SEngstrom's user avatar
  • 1,719
0 votes
0 answers
89 views

Ultimately, I would like to have input field that will remember in front-end its last session value, while its related variable should not be local and should be dynamic. Input field will be put in a ...
Schepy's user avatar
  • 21
17 votes
2 answers
1k views

Yesterday, I imported a large set of data into a Mathematica notebook and stored each imported list of numbers in a function. For example, I would map a list like ...
K. Claesson's user avatar
4 votes
1 answer
97 views

Say I save variables x, y, z using ...
Paul R.'s user avatar
  • 937
2 votes
1 answer
536 views

Let's say I have written a NetChain machine learning setup, trained the chain with NetTrain and obtained a model ready to ...
Kagaratsch's user avatar
  • 12.1k
16 votes
1 answer
349 views

How can I implement persistent storage for packages/applications? For example, how can my package have settings which persist across sessions? I have implemented this more than once in the past. ...
Szabolcs's user avatar
  • 239k
9 votes
2 answers
274 views

Bug introduced in 10.2 and fixed in 11.1 I have found that LocalSymbol will sometimes create and store persistent data in a directory different from and off the ...
m_goldberg's user avatar
  • 109k
1 vote
1 answer
301 views

I'm inspired to make use of "remembering the function values" technique from here: Functions that remember their values The only question is: how can I save the function, along with its values stored ...
James LT's user avatar
  • 323
3 votes
0 answers
120 views

Having this code: ...
michelson's user avatar
  • 443

15 30 50 per page