repr: String representation

reprR Documentation

String representation

Description

String representation

Usage

repr(x, ...)

Arguments

x

Object to represent as a string.

...

Additional arguments passed to methods.

Value

Character string representation of the object.

Author(s)

EDG

Examples

S7::method(repr, S7::class_character) <- function(x, ...) {
  paste0("<chr> \"", x, "\"")
}
cat(repr("hello"))

rtemis.core documentation built on April 22, 2026, 1:11 a.m.