Learn R Programming

einops (version 0.2.1)

repr: Python-like Representation of Objects as Strings

Description

This is an R implementation of python's repr() function. All objects will have a default repr that uses its print method. This is important because the pprint() function will always be able to give a repr-esque output of any object.

Usage

repr(x, indent = 0L, ...)

Value

A character vector of class c("repr_output", "character"), each element is a line

Arguments

x

Object to represent

indent

Indentation level (number of spaces)

...

Additional arguments passed to methods