3482
правки
Изменения
м
→Функция tidy.source()
{{file
|subtitlefilename=messy.R
|lang=r
|code=
> library(formatR)
> options(width = 80)
> tidy.source(source = paste0(.libPaths()[1], "/formatR/format/messy.R"), replace.assign = TRUE)
# a single line of comments is preserved
1 + 1