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

1
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, downloadFile, formula, getDLLRegisteredRoutines, isOpen, toAsciiRegExprPattern, toFileListTree, toLatex, uses

Author(s)

Henrik Bengtsson

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.