Learn R Programming

R.rsp (version 0.42.0)

RspIfDirective: The RspIfDirective class

Description

Package: R.rsp Class RspIfDirective

character ~~| ~~+--RspObject ~~~~~~~| ~~~~~~~+--RspConstruct ~~~~~~~~~~~~| ~~~~~~~~~~~~+--RspDirective ~~~~~~~~~~~~~~~~~| ~~~~~~~~~~~~~~~~~+--RspIfDirective

Directly known subclasses: RspIfeqDirective, RspIfneqDirective

public class RspIfDirective extends RspDirective

An RspIfDirective is an RspDirective that will include or exclude all RspConstruct:s until the next RspEndifDirective based on the preprocessing value of the particular if clause. Inclusion/exclusion can be reversed via an RspElseDirective.

Usage

RspIfDirective(value="if", ...)

Arguments

value

A character string.

...

Arguments passed to the constructor of RspDirective.

Fields and Methods

Methods: No methods defined.

Methods inherited from RspDirective: asRspString, getNameContentDefaultAttributes, requireAttributes

Methods inherited from RspConstruct: asRspString, getComment, getInclude, getSuffixSpecs

Methods inherited from RspObject: print

Methods inherited from character: all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses