R.rsp (version 0.43.2)

RspConstruct: The RspConstruct class

Description

Package: R.rsp Class RspConstruct

character ~~| ~~+--RspObject ~~~~~~~| ~~~~~~~+--RspConstruct

Directly known subclasses: RspCode, RspCodeChunk, RspComment, RspCopyDirective, RspCutDirective, RspDirective, RspElseDirective, RspEndcopyDirective, RspEndcutDirective, RspEndifDirective, RspErrorDirective, RspEvalDirective, RspExpression, RspIfDirective, RspIfeqDirective, RspIfneqDirective, RspIncludeDirective, RspIntegerDirective, RspLogicalDirective, RspMetaDirective, RspNumericDirective, RspPageDirective, RspPasteDirective, RspStringDirective, RspText, RspUnknownDirective, RspUnparsedDirective, RspUnparsedExpression, RspVariableDirective, RspVoid

public class RspConstruct extends RspObject

An RspConstruct object represents an RSP construct, which can either be (i) an RSP text (a plain text section), (ii) an RSP comment, (iii) an RSP preprocessing directive, or (iv) an RSP expression.

Usage

RspConstruct(object=character(), ..., comment=NULL)

Arguments

object

A R object.

...

Arguments passed to RspObject.

comment

An optional character string.

Fields and Methods

Methods:

asRspString Recreates an RSP string from an RspConstruct.
getComment Gets the comment of an RSP construct.
getInclude Checks whether an RSP construct will include text to the output or not.
getSuffixSpecs Gets the suffix specifications.

Methods inherited from RspObject: print

Methods inherited from character: Ops,nonStructure,vector-method, Ops,structure,vector-method, Ops,vector,nonStructure-method, Ops,vector,structure-method, all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, coerce,ANY,character-method, coerce,character,SuperClassMethod-method, coerce,character,signature-method, coerce<-,ObjectsWithPackage,character-method, coerce<-,signature,character-method, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses