Any global options set in this manner can be overridden by setting them
as function arguments to the primt()
methods defined for emphatic
matrices and data.frames.
hl_opt_global(
na,
dark_mode,
full_colour,
text_mode,
text_contrast,
underline_header
)
Character string to display for NA values. Default 'NA'
Output terminal is in 'dark mode'? default: TRUE means that
the terminal display is light coloured text on a dark background.
If your terminal displays dark text on a light background, set
dark_mode = FALSE
Use 24bit ANSI escape codes? default: FALSE - use 8bit colour. Note: RStudio only supports 8 bit ANSI output (24bit ANSI is rendered invisibly in Rstudio). For 24bit colour output, try R in the terminal e.g. 'iTerm' on OSX.
How to handle textif no text colour has been explicitly specified by the user.
(default) automatically select a contrasting colour for enhanced readability.
render text in the default text colour for the output device, unless the user has already specified a text colour at this location
remove all text without a user-defined colour
When text_mode='contrast'
this numeric value in
range [0, 1] adjusts the visibility. Default: 1 (high contrast)
Draw an underline separating the column header from the data? Default: TRUE