

GeneratedCell -> False, (* prevent deletion by Cell > Delete All Output: *) Panel = FrameMargins -> Small], Uncompress], SaveToCell : "data", opt : OptionsPattern] := "SaveToCell shows 'display' on the right-hand-side of the assignment." "SaveToCell creates an input cell that reassigns the current value of variable.\n" This is still a bit too much work to use regularly, so I wrapped it up into one convenient function, with some additional features. Then edit the output cell, and write var = in front of >, like this: Simply evaluate the following: Interpretation] We can do this manually using the Interpretation function.

One way to deal with this is to create an object which has a compact display in the notebook, but in computations it is interpreted as the full dataset. But more often the data is just too large to display it this way. When the data is small, we can create a cell that assigns it to variable, like this: var =

It would be much more convenient to store everything in a single file: directly within the notebook. But I may not yet have a project directory set up, to keep the data in. Usually I would export the result to a file, so I can re-load it later. I would like to save its result, so that next time I use the notebook I do not need to wait for the data to be re-generated. But sometimes it would be useful if we could also use them to store machine-readable datasets.įor example, sometimes I run a calculation which takes several minutes to complete. Mathematica notebooks are a convenient document format for storing code, text, graphics, and human readable computation results. Mathematica 11.3-released in March 2018-has introduced the Iconize feature, which largely replaces the techniques described below.
