File: repr.Rd

package info (click to toggle)
r-cran-repr 0.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: sh: 10; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generics.r
\name{repr}
\alias{repr}
\title{Dynamic representation}
\usage{
repr(obj, format = "text", ...)
}
\arguments{
\item{obj}{The object to create a representation for}

\item{format}{The representation format. \code{repr_<format>} is then called. (default: Call \link{repr_text})}

\item{...}{delegated to the specific \code{repr_<format>} function}
}
\value{
A character or raw vector of that format or NULL if none is defined.
Only the \code{'text'} format is defined for everything (via \link{print}\code{()})
}
\description{
Specify an object and a format to represent it in. Will \link{stop}\code{()} if no such format is known.
}
\seealso{
\link{repr_text}, \link{repr-generics}
}