Directly known subclasses:
public abstract static class SmartComments
Abstract class SmartComments.
A "smart" source-code comment is an R comment, which start with a '\#',
but is followed by a single letter, then a single symbol and a second
'\#' and then an option character string, and there must not be any code
before the comment on the same line. In summary, a smart comment line
<white spaces>\#<letter><symbol>\# <some text>.
Example code with two smart comments (VComments):
1 2 3 4 5
x <- 2 \#V1\# threshold=-1 \#Vc\# A v-comment log message cat("Hello world")
which after compilation becomes
1 2 3 4 5
| ||Preprocess a vector of code lines.|
| ||Converts a single smart comment to R code.|
| ||Parses one single smart comment.|
| ||Resets a SmartComments compiler.|
| ||Validates the compiled lines.|
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, names, objectSize, print, save
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.