Learn R Programming

R.rsp (version 0.15.0)

RspEvalDirective: The RspEvalDirective class

Description

Package: R.rsp Class RspEvalDirective character ~~| ~~+--RspObject ~~~~~~~| ~~~~~~~+--RspConstruct ~~~~~~~~~~~~| ~~~~~~~~~~~~+--RspDirective ~~~~~~~~~~~~~~~~~| ~~~~~~~~~~~~~~~~~+--RspEvalDirective Directly known subclasses: public class RspEvalDirective extends RspDirective An RspEvalDirective is an RspDirective that causes the RSP parser to evaluate a piece of R code (either in a text string or in a file) as it is being parsed.

Usage

RspEvalDirective(value="eval", ...)

Arguments

value
A character string.
attributes
A named list, which must contain a 'file' or a 'text' element.
...
Optional arguments passed to the constructor of RspDirective.

Fields and Methods

Methods: rll{ getContent Gets the content of the RSP eval directive. getFile Gets the file attribute. }

Methods inherited from RspDirective: asRspString, getNameContentDefaultAttributes, requireAttributes

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

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

Methods inherited from character: all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses