hl_opts {emphatic} | R Documentation |
Create a set of options
Description
Create a set of options
Usage
hl_opts(
na = getOption("HL_NA", "NA"),
full_colour = getOption("HL_FULL_COLOUR", FALSE),
text_mode = getOption("HL_TEXT_MODE", "contrast"),
text_contrast = getOption("HL_TEXT_CONTRAST", 1)
)
Arguments
na |
Character string to display for NA values. Default 'NA' |
full_colour |
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. |
text_mode |
How to handle text if no text colour has been explicitly specified by the user.
|
text_contrast |
When |
Value
named list of standard options
Examples
# Generate a standard set of options
hl_opts()