Learn R Programming

R.rsp (version 0.20.0)

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: rll{ 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: all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses