powered by
Style text
style_text(text, configuration = list())
(character) The text formatted as R code.
character
(character) the text to style
(list) Configuration for formatting. Default list().
list
list()
This function is vectorized. To see possible configuration options, see get_default_config().
get_default_config()
code <- "a+b" styled <- style_text(code) code <- c("a+b", "A<-7") styled <- style_text(code)
Run the code above in your browser using DataLab