VComments {R.utils}R Documentation

The VComments class

Description

Package: R.utils
Class VComments

Object
~~|
~~+--SmartComments
~~~~~~~|
~~~~~~~+--VComments

Directly known subclasses:
LComments

public static class VComments
extends SmartComments

The VComments class.

Usage

VComments(letter="V", verboseName="verbose", ...)

Arguments

letter The smart letter.
verboseName The name of the verbose object.
... Not used.

Details

The 'v' in VComments stands for 'verbose', because of its relationship to the Verbose class.

Here is a list of VComments and the R code that replaces each of them by the compiler:

Constructors

Controls

Enters and exits

Simple output

Output messages

Author(s)

Henrik Bengtsson http://www.braju.com/R/

Examples

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

cat("Code before preprocessing:\n")
displayCode(lines)

lines <- VComments$compile(lines)

cat("Code after preprocessing:\n")
displayCode(lines)

[Package R.utils version 0.5.5 Index]