external_highlight(file, outfile = NULL, theme = "kwrite",
lang = NULL,
type = "HTML",
line_numbers = FALSE,
doc = TRUE,
code
)highlight_themes for the list
of available themes.highlight_output_types for the list
of supported output types.The result as a character vector if outfile is NULL
highlight to highlight R code using the information from the
parser.