The RspDocument class

Package: R.rsp Class RspDocument list ~~| ~~+--RspObject ~~~~~~~| ~~~~~~~+--RspDocument Directly known subclasses: public class RspDocument extends RspObject An RspDocument represents a list of RspConstruct:s.

classes, internal
RspDocument(expressions=list(), ...)
A list of RspConstruct:s and RspDocument:s.
Arguments passed to RspObject.
Fields and Methods

Methods: rll{ [ - [<- - asRspString - dropEmptyText Drops all empty RSP text constructs. evaluate Parses, translates, and evaluates the RSP document. flatten Flattens an RspDocument. getMetadata Gets the metadata of the RspDocument. getPath Gets the path to the source reference of an RSP string. getSource Gets the source reference of an RSP document. getType Gets the type of the RspDocument. mergeTexts Merge neighboring 'text' elements. parseIfElseDirectives - preprocess Processes all RSP preprocessing directives. print - rcat - rclean - rcompile - rfile - rscript - rstring - setMetadata - subset Subsets an RspDocument. toR Translates the RSP document into R source code. trim Trims each of the RSP constructs. trimNonText Trims all non-text RSP constructs. }

Methods inherited from RspObject: getAttribute, getAttributes, hasAttribute, print, setAttribute, setAttributes

Methods inherited from list: all.equal,, attachLocally, callHooks, relist, within

  • RspDocument
Documentation reproduced from package R.rsp, version 0.9.17, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.