repr: Dynamic representation

Description Usage Arguments Value See Also

Description

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

Usage

1
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



Search within the repr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.