View source: R/CodeFormatting.R
formatRText | R Documentation |
Format R code
formatRText(text, width.cutoff = 100)
text |
A character vector with the R code to be formatted. |
width.cutoff |
Number of characters that each line should be limited to. |
DEPRECRATED. Please use styler::style_text
instead.
A character vector with formatted R code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.