compile.SmartComments

0th

Percentile

Preprocess a vector of code lines

Preprocess a vector of code lines.

Usage
## S3 method for class 'SmartComments}(this, lines, trim=TRUE, excludeComments=FALSE, ...)':
compileundefined

 lines{A character vector of lines of code to be preprocessed.}
  trim{If TRUE, trailing whitespace characters are removed from
     every line of code, and contigous empty lines are replaced with a
     single empty line.}
  excludeComments{If TRUE, comments in the input lines, that is,
     also smart comments, are excluded.}
  ...{Not used.}

 Returns a character vector.

 
When called, the compiler is reset. Just before trimming is done, the validate() method is called. In the current class, this does nothing, but can be overridden in subclasses.
[object Object] For more information see SmartComments. internal methods programming
Aliases
  • compile.SmartComments
  • SmartComments.compile
  • compile.SmartComments
  • compile,SmartComments-method
Documentation reproduced from package R.utils, version 0.7.9, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.