R.comment | R Documentation |
Create R comment with JavaScript in RKWard plugin code
R.comment( ..., indent.by = rk.get.indent(escape = TRUE), level = 2, newline = "" )
... |
Character strings to form a comment. |
indent.by |
A character string defining the indentation string to use. Note that
backslashes need to be escaped (e.g. |
level |
Integer, which indentation level to use in the resulting R code, minimum is 1. |
newline |
Character string,
can be set to e.g. |
A character string.
cat(R.comment("This will become an R comment"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.