R.rsp v0.9.24

0

Monthly downloads

0th

Percentile

Dynamic generation of scientific reports

The RSP markup language makes any text-based document come alive. RSP provides a powerful markup for controlling the content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr documents (and more), e.g. 'Today's date is <%=Sys.Date()%>'. Contrary to many other literate programming languages, with RSP it is straightforward to loop over mixtures of code and text sections, e.g. in month-by-month summaries. RSP has also several preprocessing directives for incorporating static and dynamic contents of external files (local or online) among other things. Functions rstring() and rcat() make it easy to process RSP strings, while rfile() compiles RSP files (also online) into their final outputs, e.g. rfile('report.tex.rsp') generates 'report.pdf'. RSP is ideal for self-contained scientific reports and R package vignettes.

Functions in R.rsp

Name Description
getType.RspPageDirective Gets the content type
RspObject The abstract RspObject class
evaluate.RspSourceCode Evaluates the source code
toR.RspString Parses and translates the RSP string into R code
print.RspObject Prints a summary of an RSP object
HttpDaemon$start Starts the HTTP daemon
getMetadata.RspProduct Gets the metadata an RSP product
HtmlRspLanguage The HtmlRspLanguage class
HttpDaemon The HttpDaemon class
HttpDaemonRspResponse The HttpDaemonRspResponse class
R.rsp-package Package R.rsp
print.RspArguments Prints RSP arguments
RspEvalDirective The RspEvalDirective class
RRspPackage The RRspPackage class
RspLanguage The RspLanguage class
RspCodeChunk The RspCodeChunk class
[.RspDocument Subsets an RspDocument
Non-documented objects Non-documented objects
RspDocument The RspDocument class
mergeTexts.RspDocument Merge neighboring 'text' elements
RspMetaDirective The RspMetaDirective class
RspResponse The RspResponse class
RspConstruct The RspConstruct class
buildNonSweaveVignettes Builds all non-Sweave Rnw vignette
as.character.RspStringProduct Returns a plain character string representation of an RSP string product
buildNonSweaveTexToPdf Compiles all TeX files into PDFs
FileRspResponse The FileRspResponse class
RspFileProduct The RspFileProduct class
RRspPackage$capabilitiesOf Checks which tools are supported
RspIfDirective The RspIfDirective class
compileAsciiDocNoweb Compiles an AsciiDoc noweb file
RspException The RspException class
HttpRequest The HttpRequest class
as.character.HttpDaemon Returns a short string describing the HTTP daemon
compileRsp Compiles an RSP file
HttpDaemon$getDefaultFilenamePattern Gets the default filename pattern to be loaded by the HTTP daemon
RspIncludeDirective The RspIncludeDirective class
HttpDaemon$getConfig Retrieves the server's 'config' structure from Tcl
buildNonSweaveVignette Builds a non-Sweave Rnw vignette
compileMarkdown Compiles a Markdown file
RspShSourceCodeFactory The RspShSourceCodeFactory class
getRealPath.HttpRequest Gets the file system path for a given URI
getContentLength.HttpRequest Gets the length of contents
flatten.RspDocument Flattens an RspDocument
getMetadata.RspDocument Gets the metadata of the RspDocument
RspComment The RspComment class
RspProduct The RspProduct class
RspErrorDirective The RspErrorDirective class
asRspString.RspConstruct Recreates an RSP string from an RspConstruct
RspText The RspText class
exprToCode.RspSourceCodeFactory Translates an RspExpression into source code
RspStringProduct The RspStringProduct class
nbrOfParameters.HttpRequest Gets the number of parameters
HttpDaemon$getHttpRequest Gets the HTTP request
RspExpression The RspExpression class
parseRaw.RspParser Parses the string into blocks of text and RSP
RspPage The RspPage class
RspUnparsedExpression The RspUnparsedExpression class
evaluate.RspRSourceCode Parses and evaluates the R code
RspCode The RspCode class
getCode.RspCode Gets the source code
parseVignettes Locates and parses all vignettes
RspShSourceCode The RspShSourceCode class
browseRsp Starts the internal web browser and opens the URL in the default web browser
dropEmptyText.RspDocument Drops all empty RSP text constructs
parse.RspUnparsedExpression Parses the unknown RSP expression for its class
evaluate.RspDocument Parses, translates, and evaluates the RSP document
RspRSourceCodeFactory The RspRSourceCodeFactory class
getEcho.RspCode Checks whether the source code should be echoed or not
RspString The RspString class
getAbsolutePath.FileRspResponse Gets the absolute pathname to the current RSP file
getAbsolutePath.RspPage Gets the absolute pathname to the current RSP file
getContent.RspIncludeDirective Gets the content of the RSP include directive
compileAsciiDoc Compiles an AsciiDoc file
RspVariableDirective The RspVariableDirective class
RspUnknownDirective The RspUnknownDirective class
compileSweave Compiles a Sweave file
RspSourceCode The RspSourceCode class
escape.RspLanguage Escapes a string specifically for a given RSP response language
rspToHtml Compiles an RSP file to an HTML file
getContentType.HttpRequest Gets the MIME type of the body of the request
RspUnparsedDirective The RspUnparsedDirective class
import.RspResponse Imports the output from another RSP file
getFile.RspEvalDirective Gets the file attribute
rscript Compiles an RSP string and returns the generated source code script
RspDirective The abstract RspDirective class
as.character.HttpRequest Returns a short string describing the HTTP request
getSuffixSpecs.RspConstruct Gets the suffix specifications
getCompleteCode.RspSourceCodeFactory Gets the source code header, body, and footer
compileRnw Compiles a Rnw file
parseRsp Parse an RSP code string to an R RSP code string
importRsp Imports an RSP file
getFile.RspIncludeDirective Gets the file attribute
buildVignette Builds a vignette
parse.RspUnparsedDirective Parses the unknown RSP directive for its class
requireAttributes.RspDirective Asserts that certain attributes exist
compileKnitr Compiles a Knitr file
RspParser The RspParser class
getRemoteHost.HttpRequest Gets the fully qualified name of the client that sent the request
rstring Evaluates an RSP string and returns the generated string
getComment.RspComment Gets the comment
writeResponse.HttpDaemon Writes a string to the HTTP output connection
getComment.RspConstruct Gets the comment of an RSP construct
getContent.RspText Gets the contents of the RSP text
getPath.RspDocument Gets the path to the source reference of an RSP string
compileLaTeX Compiles a LaTeX file
evaluate.RspString Parses, translates, and evaluates the RSP string
getVerbatim.RspLanguage Gets a verbatim string specific for a given RSP response language
sourceRsp Processes an RSP file by translating it to an R servlet, which is then sourced
getServerName.HttpRequest Gets the host name of the server that revieved the request
toLatex.character Escapes character strings to become LaTeX compatible
HttpDaemon$getPort Gets the socket port of the HTTP daemon
RspSourceCodeFactory The RspSourceCodeFactory class
flush.RspResponse Flushes the response buffer
getLanguage.RspLanguage Gets the language string
RspPageDirective The RspPageDirective class
RspRSourceCode The RspRSourceCode class
findProcessor.RspProduct Locates a processor for an RSP product
hasParameter.HttpRequest Checks if a parameter exists
tidy.RspSourceCode Tidy up the RSP source code
buildPkgIndexHtml Builds a package index HTML file
HttpDaemon$restart Restarts the HTTP daemon
trimNonText.RspDocument Trims all non-text RSP constructs
HttpDaemon$getRootPaths Gets the root directories of the HTTP daemon
getName.RspPage Gets the (base)name of the current RSP file
HttpDaemon$appendRootPaths Appends and inserts new paths to the list of known root directories
getComment.RspLanguage Gets a comment string specific for a given RSP response language
getLanguage.RspSourceCodeFactory Gets the language
getName.FileRspResponse Gets the (base)name of the current RSP file
getVerbatim.RspIncludeDirective Checks if verbatim include should be used or not
getSource.RspDocument Gets the source reference of an RSP document
translateRspV1 Translates an RSP file to an R servlet
preprocess.RspDocument Processes all RSP preprocessing directives
getProtocol.HttpRequest Gets the name and version of the protocol used to make this request
getAttributes.RspObject Gets the attributes of an RSP object
getParameters.HttpRequest Gets all parameters
HttpDaemon$stop Stops the HTTP daemon
startHelp.HttpDaemon Starts the HTTP daemon and launches the help page
getRemoteAddress.HttpRequest Gets the IP address of the client that sent the request
getNewline.RspLanguage Gets the newline string specific for a given RSP response language
process.RspProduct Processes an RSP file product
rcompile Compiles an RSP document
translateRsp Translates an RSP file to an R RSP source file
evaluate.RspShSourceCode Evaluates the shell (sh) code
findAsciiDoc Locates the asciidoc executable
write.RspResponse Writes an RSP response to the predefined output
getType.RspString Gets the type of an RSP string
getType.RspDocument Gets the type of the RspDocument
getWrap.RspIncludeDirective Get the wrap length
hasProcessor.RspProduct Checks whether a processor exist or not for an RSP product
getSource.RspString Gets the source reference of an RSP string
makeSourceCode.RspSourceCodeFactory Makes a RspSourceCode object
rsptex Compiles an RSP LaTeX file into a DVI file
getParameter.HttpRequest Gets a parameter
getServerPort.HttpRequest Gets the port number on which this request was received
parse.RspString Parses the RSP string
indexOfNonQuoted Gets the first index of a string that is not inside a double qouted string
subset.RspDocument Subsets an RspDocument
getContent.RspEvalDirective Gets the content of the RSP eval directive
tangle.RspSourceCode Drops all text-outputting calls from the source code
rfile Evaluates and postprocesses an RSP document and outputs the final RSP document file
rsp Compiles an RSP document
HttpDaemon$processRsp Processes an RSP page
findPandoc Locates the pandoc executable
rspWeave A weave function for RSP documents
getInclude.RspConstruct Checks whether an RSP construct will include text to the output or not
getMetadata.RspString Gets the metadata of the RspDocument
getOutput.FileRspResponse Gets the output for an RSP response
nbrOfLines.RspString Gets the number of lines in an RSP string
getType.RspProduct Gets the type of an RSP product
splitUrl Decomposes a URL into its components
getPath.FileRspResponse Gets the path of the directory of the current RSP file
parse.RspParser Parses the RSP string
typeOfRnw Checks whether an Rnw file is a Sweave or a knitr file
sourceAllRsp Processes one or several RSP files
openUrl.HttpDaemon Starts the HTTP daemon and launches the specified URL
HttpDaemon$isStarted Checks if the HTTP daemon is started
getPath.RspPage Gets the path of the directory of the current RSP file
getScheme.HttpRequest Gets the scheme used to make this request
parseVignette Parses an Rnw file
rcat Evaluates an RSP string and outputs the generated string
toR.RspDocument Translates the RSP document into R source code
rclean Compiles an RSP document into a preprocessed and validated RSP document
rargs Gets RSP arguments of an RSP document
HttpDaemon$setRootPaths Sets a new set of root directories for the HTTP daemon
trim.RspDocument Trims each of the RSP constructs
parse.RspRSourceCode Parses the R code
HttpDaemon$sourceTcl Loads the Tcl source for the HTTP daemon into R
rspTangle A tangle function for RSP documents
toSourceCode.RspSourceCodeFactory Translates an RSP document to source code
view.RspProduct Views the RSP product
No Results!

Last month downloads

Details

VignetteBuilder R.rsp
Date 2013-09-18
License LGPL (>= 2.1)
LazyLoad TRUE
Packaged 2013-09-19 05:33:00 UTC; hb
NeedsCompilation no
Repository CRAN
Date/Publication 2013-09-20 16:12:17

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/R.rsp)](http://www.rdocumentation.org/packages/R.rsp)