R: The RspCode class

RspCode {R.rsp} | R Documentation

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

### Author(s)

Henrik Bengtsson

[Package R.rsp version 0.41.0 Index]