RspSourceCodeFactory: The RspSourceCodeFactory class

Description Usage Arguments Fields and Methods Author(s)


Package: R.rsp
Class 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.





A character string.


Not used.

Fields and 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.raster, downloadFile, formula, getDLLRegisteredRoutines, isOpen, toAsciiRegExprPattern, toFileListTree, toLatex, uses


Henrik Bengtsson

R.rsp documentation built on May 19, 2017, 6:58 p.m.

Search within the R.rsp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.