repr: Dynamic representation

View source: R/generics.r

reprR Documentation

Dynamic representation

Description

Specify an object and a format to represent it in. Will stop() if no such format is known.

Usage

repr(obj, format = "text", ...)

Arguments

obj

The object to create a representation for

format

The representation format. repr_<format> is then called. (default: Call repr_text)

...

delegated to the specific repr_<format> function

Value

A character or raw vector of that format or NULL if none is defined. Only the 'text' format is defined for everything (via print())

See Also

repr_text, repr-generics


IRkernel/repr documentation built on March 26, 2024, 3:12 a.m.