Learn R Programming

R.rsp (version 0.46.0)

RspDocument: The RspDocument class

Description

Package: R.rsp
Class RspDocument

list
~~|
~~+--RspObject
~~~~~~~|
~~~~~~~+--RspDocument

Directly known subclasses:

public class RspDocument
extends RspObject

An RspDocument represents a list of RspConstruct:s.

Usage

RspDocument(expressions=list(), ...)

Arguments

expressions

A list of RspConstruct:s and RspDocument:s.

...

Arguments passed to RspObject.

Fields and Methods

Methods:

[-
[<--
asRspString-
dropEmptyTextDrops all empty RSP text constructs.
evaluateParses, translates, and evaluates the RSP document.
flattenFlattens an RspDocument.
getPathGets the path to the source reference of an RSP string.
getSourceGets the source reference of an RSP document.
getTypeGets the type of the RspDocument.
mergeTextsMerge neighboring 'text' elements.
parseCutNPasteDirectives-
parseIfElseDirectives-
preprocessProcesses all RSP preprocessing directives.
print-
rcat-
rclean-
rcode-
rcompile-
rfile-
rsource-
rstring-
subsetSubsets an RspDocument.
toRTranslates the RSP document into R source code.
trimTrims each of the RSP constructs.
trimNonTextTrims all non-text RSP constructs.

Methods inherited from RspObject:
print

Methods inherited from list:
Ops,nonStructure,vector-method, Ops,structure,vector-method, Ops,vector,nonStructure-method, Ops,vector,structure-method, all.equal, as.data.frame, attachLocally, coerce,ANY,list-method, relist, type.convert, within

Author

Henrik Bengtsson