$OutputSizeLimit

$OutputSizeLimit
specifies the maximum size in bytes of expressions that will automatically be output in their entirety in a Mathematica notebook.

DetailsDetails

  • For expressions larger than $OutputSizeLimit, portions of the expression are displayed, together with controls to allow more to be displayed.
  • $OutputSizeLimit is not affected by constructs such as Graphics and SparseArray whose displayed form does not grow with the amount of data they contain.
  • Larger portions of expressions elided as a result of $OutputSizeLimit can only be displayed while the corresponding Out[n] is accessible in a single kernel session.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

This produces output that is somewhat lengthy:

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

Set $OutputSizeLimit to be rather small:

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

Now the same output as before is shown in a shortened form:

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

This resets the $OutputSizeLimit option to its global setting:

In[4]:=
Click for copyable input
Out[4]=
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »