Learn R Programming

R.rsp (version 0.41.0)

RspSourceCodeFactory: The RspSourceCodeFactory class

Description

Package: R.rsp Class RspSourceCodeFactory

character ~~| ~~+--RspSourceCodeFactory

Directly known subclasses: RspRSourceCodeFactory, RspShSourceCodeFactory

public abstract class RspSourceCodeFactory extends character

An RspSourceCodeFactory is language-specific engine that knows how to translate individual RspExpression:s into source code of a specific programming language.

Usage

RspSourceCodeFactory(language=NA, ...)

Arguments

language

A character string.

...

Not used.

Fields and Methods

Methods:

exprToCode Translates an RspExpression into source code.
getCompleteCode Gets the source code header, body, and footer.
getLanguage Gets the language.
makeSourceCode Makes a RspSourceCode object.
toSourceCode Translates an RSP document to source code.

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