Learn R Programming

repr (version 0.6)

repr_*.function: Representations of functions

Description

Representations of functions

Usage

## S3 method for class 'function':
repr_html(obj,
  highlight = getOption("repr.function.highlight"), ...)

## S3 method for class 'function': repr_latex(obj, highlight = getOption("repr.function.highlight"), ...)

## S3 method for class 'function': repr_markdown(obj, fenced = TRUE, ...)

Arguments

obj
Function to create a representation for
highlight
Should code highlighting be performed
...
ignored
fenced
Should a fenced code block instead of an indented one be used?