filename <- system.file("data-ex/exampleVComments.R", package="R.utils")
lines <- readLines(filename)
cat("Code before preprocessing:
")
displayCode(lines)
lines <- VComments$compile(lines)
cat("Code after preprocessing:
")
displayCode(lines)
Run the code above in your browser using DataCamp Workspace