View source: R/CodeFormatting.R
formatRFile | R Documentation |
Format an R file
formatRFile(file, width.cutoff = 100)
file |
The path to the file. |
width.cutoff |
Number of characters that each line should be limited to. |
DEPRECRATED. Please use styler::style_file
instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.