fix_rscript | R Documentation |
The function fix_rscript
is just a simple convenience
interface to tidy_source
, using certain
argument settings. The code_lines
function is a small
utility for counting lines after removing comments and empty lines.
fix_rscript(file = NULL)
code_lines(path = ".", comment = "#")
file |
character. The .R script that should be fixed,
by default |
path |
character specifying a directory with .R files. |
comment |
character for beginning comments. |
tidy_source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.