emphatic
data.frame, matrix or atomic vector into a character string.R/core.R
as.character.emphatic.Rd
The output contains ANSI escape codes to colour the elements in the
object. This string would then be suitable to pass on to fansi
for further manipulation e.g. conversion to HTML for displaying in a vignette.
# S3 method for emphatic
as.character(x, ..., mode = "ansi")
emphatic
data.frame, matrix or atomic vector
other arguments passed on to format()
Render mode 'ansi' (default) or 'html' determines how the colours will be represented in text. If you're in a terminal or console, then choose 'ansi'.