The RspSourceCodeFactory class

Share:

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

1
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

Author(s)

Henrik Bengtsson

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.