R: The RspEvalDirective class

RspEvalDirective {R.rsp} | R Documentation

## 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:
all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses

### Author(s)

Henrik Bengtsson

[Package R.rsp version 0.41.0 Index]