R.rsp (version 0.43.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:

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: print

Methods inherited from character: Ops,nonStructure,vector-method, Ops,structure,vector-method, Ops,vector,nonStructure-method, Ops,vector,structure-method, all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, coerce,ANY,character-method, coerce,character,SuperClassMethod-method, coerce,character,signature-method, coerce<-,ObjectsWithPackage,character-method, coerce<-,signature,character-method, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses