RspLanguage: The RspLanguage class

Description Usage Arguments Fields and Methods Author(s)


Package: R.rsp
Class RspLanguage


Directly known subclasses:

public static class RspLanguage
extends Object

An RspLanguage object specifies what the markup language of the response/output document is, e.g. plain text and HTML. The RspLanguage class provides methods to obtain language specific strings/output such as how newlines and comments are written. The RspLanguage class describes a plain text languages. For HTML see the HtmlRspLanguage subclass.


RspLanguage(language="plain", ...)



A character string.


Not used.

Fields and Methods


escape Escapes a string specifically for a given RSP response language.
getComment Gets a comment string specific for a given RSP response language.
getLanguage Gets the language string.
getNewline Gets the newline string specific for a given RSP response language.
getVerbatim Gets a verbatim string specific for a given RSP response language.

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, names, objectSize, print, save


Henrik Bengtsson

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

Questions? Problems? Suggestions? or email at

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

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