Examples for 'R.utils::VComments'


The VComments class

Aliases: VComments

Keywords: classes programming IO

### ** Examples

filename <- system.file("data-ex/exampleVComments.R", package="R.utils")
lines <- readLines(filename)

cat("Code before preprocessing:\n")
Code before preprocessing:
displayCode(code=lines, pager="console")
Warning: error in running command
lines <- VComments$compile(lines)
Warning in validate.VComments(this, lines): Number of verbose enters and exits
do not match: 6 != 4
cat("Code after preprocessing:\n")
Code after preprocessing:
displayCode(code=lines, pager="console")
Warning: error in running command

[Package R.utils version 2.11.0 Index]