| convert_semicolons_impl | R Documentation |
Appends a semicolon to each element of code that looks like a
statement but does not already have one. Lines that are left unchanged:
blank lines, lines already ending with ;, lines ending with
{ or }, C/C++ comments (// or /*),
preprocessor directives (#), lines containing block
options (line starts with @), and lines ending with Fortran
block-structure keywords.
convert_semicolons_impl(code)
code |
Character vector of source lines. |
Character vector with semicolons inserted where needed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.