Learn R Programming

R.rsp (version 0.43.0)

RspCode: The RspCode class

Description

Package: R.rsp Class RspCode

character ~~| ~~+--RspObject ~~~~~~~| ~~~~~~~+--RspConstruct ~~~~~~~~~~~~| ~~~~~~~~~~~~+--RspExpression ~~~~~~~~~~~~~~~~~| ~~~~~~~~~~~~~~~~~+--RspCode

Directly known subclasses: RspCodeChunk

public class RspCode extends RspExpression

An RspCode is an RspExpression that represents a piece of source code, which may or may not be a complete code chunk (expression).

Usage

RspCode(code=character(), echo=FALSE, ...)

Arguments

code

A character string.

echo

If TRUE, code is echoed to the output.

...

Not used.

Fields and Methods

Methods:

asRspString -
getCode Gets the source code.
getEcho Checks whether the source code should be echoed or not.

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

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