pprint: Pretty Print

View source: R/utils-pprint-repr.R

pprintR Documentation

Pretty Print

Description

This is a convenience function that prints the repr() of an object. It is similar to python's pprint.pprint(). Usually, to ensure that an object is displayed in the terminal using its pprint format, just define a print.that_object_class method that calls pprint().

Usage

pprint(x, ...)

Arguments

x

Object to pretty print

...

Additional arguments passed to repr()

Value

The input object, invisibly


einops documentation built on Sept. 9, 2025, 5:29 p.m.