Timeline for Save open Mathematica Notebook from command line or second Notebook to avoid data loss
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 16, 2015 at 7:38 | comment | added | Kuba | @Szabolcs What do you think, worth an answer or "requires specialist"? | |
Jan 24, 2014 at 10:52 | comment | added | highsciguy |
Ok, guys thanks for the hints. What's your experience with the NotebookAutoSave feature? Is it stable? My experience with other software is that it may crash while saving, especially if the files are big. It can then leave the files in an inconsistent/partial state.
|
|
Jan 23, 2014 at 20:45 | comment | added | Szabolcs |
Oh, and beware of .mx ! It's not cross platform or cross-version. Never keep important data in .mx . An cross-platform, cross-version alternative is to Compress your expressions and write the resulting string into a file. I use zimport[filename_] := Uncompress@Import[filename, "String"]; zexport[filename_, data_] := Export[filename, Compress[data], "String"]
|
|
Jan 23, 2014 at 20:44 | comment | added | Szabolcs | I'm afraid there's no good solution here. I've been looking into accessing already running kernels on remote machines to examine and change their state a couple of years ago. If you don't already have some setup to enable this, then I don't think it's worth spending any more effort. Just re-run the calculation next time you can access the machine and make sure the results are saved at the end of the calculation using Export. | |
Jan 23, 2014 at 20:20 | comment | added | Ajasja |
Oh, for next time, there is also NotebookAutoSave .
|
|
Jan 23, 2014 at 20:18 | comment | added | Ajasja |
That's why I always write the results of my long calculations to a file. Export[...,"file.mx.gz"] is your friend. Doesn't help you now, I know...
|
|
Jan 23, 2014 at 17:59 | history | asked | highsciguy | CC BY-SA 3.0 |