$SummaryBoxDataSizeLimit

$SummaryBoxDataSizeLimit

specifies the maximum size in bytes of expressions that will be stored in displayed summary boxes.

Details

  • Summary boxes, which display the function name, an icon and key properties instead of the complete expression, are used by functions such as SparseArray, TimeSeries and InterpolatingFunction.
  • Summary boxes for expressions smaller than $SummaryBoxDataSizeLimit contain a full copy of the expression and can be reused as input.
  • Expressions larger than $SummaryBoxDataSizeLimit have summary boxes that do not contain a full copy of the expression, but provide an interface for storing the expression for later reuse.
  • The expression can only be embedded in the summary box while the kernel session that created it is still running and has a reference to the expression, either in a variable or Out[n].

Examples

open allclose all

Basic Examples  (2)

The default value:

In[1]:=
Click for copyable input
Out[1]=

The byte count of this sparse array is less than this limit:

In[2]:=
Click for copyable input
Out[2]=

Therefore, the following summary box contains the complete expression:

In[3]:=
Click for copyable input
Out[3]=

This summary box can be copied and used as input:

In[4]:=
Click for copyable input
Out[4]=

Set $SummaryBoxDataSizeLimit to a small value:

In[1]:=
Click for copyable input

The byte count of this sparse array is greater than this limit:

In[2]:=
Click for copyable input
Out[2]=

Therefore, the summary box does not store the expression, but provides an interface to do so:

In[3]:=
Click for copyable input
Out[3]=

This version of the summary box cannot be used as input by simply copying it:

In[4]:=
Click for copyable input

Copying the summary and box and clicking the "Store now" button will create a usable input:

In[5]:=
Click for copyable input
Out[5]=

Restore the default value of $SummaryBoxDataSizeLimit:

In[6]:=
Click for copyable input
Out[6]=

Scope  (4)

Applications  (2)

Properties & Relations  (1)

See Also

$OutputSizeLimit  OutputSizeLimit  $HistoryLength  Short  Shallow

Introduced in 2017
(11.2)