R.rsp v0.5.4

0

Monthly downloads

0th

Percentile

Dynamic generation of scientific reports

An RSP document is a text-based document containing an R-embedded template of the final document. An RSP document is preprocessed, parsed and translated into an R script, which when sourced generates the final document. This way it is possible to dynamically generate reports in plain text, HTML, TeX etc. It can also be used to enhance other literate programming languanges such as Sweave. In addition to RSP, this package also provides an internal cross-platform web server and built-in dynamic RSP-embedded HTML help pages, which can be launched by browseRsp(). If other packages provide RSP help pages, these are automatically linked to as well.

Functions in R.rsp

Name Description
translateRsp Translates an RSP file to an R RSP source file
getRootPaths.HttpDaemon Gets the root directories of the HTTP daemon
setRootPaths.HttpDaemon Sets a new set of root directories for the HTTP daemon
escape.HtmlRspLanguage Escapes a string specifically for the HTML language
HttpDaemonRspResponse The HttpDaemonRspResponse class
startHelp.HttpDaemon Starts the HTTP daemon and launches the help page
compileLaTeX Compiles a LaTeX file
write.HttpDaemonRspResponse Writes strings to an HttpDaemonRspResponse buffer
HttpDaemon The HttpDaemon class
getParameters.HttpRequest Gets all parameters
flush.FileRspResponse Flushes the response buffer
openUrl.HttpDaemon Starts the HTTP daemon and launches the specified URL
restart.HttpDaemon Restarts the HTTP daemon
as.character.HttpDaemon Returns a short string describing the HTTP daemon
writeResponse.HttpDaemon Writes a string to the HTTP output connection
nbrOfParameters.HttpRequest Gets the number of parameters
RspLanguage The RspLanguage class
getServerPort.HttpRequest Gets the port number on which this request was received
getComment.RspLanguage Gets a comment string specific for a given RSP response language
getNewline.RspLanguage Gets the newline string specific for a given RSP response language
HttpRequest The HttpRequest class
getRemoteAddress.HttpRequest Gets the IP address of the client that sent the request
import.RspResponse Imports the output from another RSP file
compileSweave Compiles a Sweave file
sourceTcl.HttpDaemon Loads the Tcl source for the HTTP daemon into R
getPath.FileRspResponse Gets the path of the directory of the current RSP file
getLanguage.RspLanguage Gets the language string
R.rsp-package Package R.rsp
getRemoteHost.HttpRequest Gets the fully qualified name of the client that sent the request
flush.RspResponse Flushes the response buffer
getComment.HtmlRspLanguage Gets a comment string specifically for the HTML language
write.RspResponse Writes an RSP response to the predefined output file
getConfig.HttpDaemon Retrieves the server's 'config' structure from Tcl
HtmlRspLanguage The HtmlRspLanguage class
getHttpRequest.HttpDaemon Gets the HTTP request
getAbsolutePath.RspPage Gets the absolute pathname to the current RSP file
getServerName.HttpRequest Gets the host name of the server that revieved the request
getName.RspPage Gets the (base)name of the current RSP file
FileRspResponse The FileRspResponse class
appendRootPaths.HttpDaemon Appends and inserts new paths to the list of known root directories
getOutput.FileRspResponse Gets the output for an RSP response
Non-documented objects Non-documented objects
getRealPath.HttpRequest Gets the file system path for a given URI
stop.HttpDaemon Stops the HTTP daemon
isStarted.HttpDaemon Checks if the HTTP daemon is started
processRsp.HttpDaemon Processes an RSP page
indexOfNonQuoted Gets the first index of a string that is not inside a double qouted string
start.HttpDaemon Starts the HTTP daemon
translateRspV1 Translates an RSP file to an R servlet
RspPage The RspPage class
getPath.RspPage Gets the path of the directory of the current RSP file
parseRsp Parse an RSP code string to an R RSP code string
rsptex Compiles an RSP LaTeX file into a DVI file
getVerbatim.HtmlRspLanguage Gets a verbatim string specifically for the HTML language
getScheme.HttpRequest Gets the scheme used to make this request
flush.HttpDaemonRspResponse Flushes the buffer of an HttpDaemonRspResponse to the HttpDaemon
getVerbatim.RspLanguage Gets a verbatim string specific for a given RSP response language
escape.RspLanguage Escapes a string specifically for a given RSP response language
getAbsolutePath.FileRspResponse Gets the absolute pathname to the current RSP file
getProtocol.HttpRequest Gets the name and version of the protocol used to make this request
importRsp Imports an RSP file
getContentLength.HttpRequest Gets the length of contents
sourceRsp Processes an RSP file by translating it to an R servlet, which is then sourced
getDefaultFilename.HttpDaemon Gets the default filename to be loaded by the HTTP daemon
getParameter.HttpRequest Gets a parameter
rsp Compiles an RSP document
getContentType.HttpRequest Gets the MIME type of the body of the request
getPort.HttpDaemon Gets the socket port of the HTTP daemon
browseRsp Starts the internal web browser and opens the URL in the default web browser
write.FileRspResponse Writes an RSP response to the predefined output file
sourceAllRsp Processes one or several RSP files
rspToHtml Compiles an RSP file to an HTML file
hasParameter.HttpRequest Checks if a parameter exists
RspResponse The RspResponse class
as.character.HttpRequest Returns a short string describing the HTTP request
getName.FileRspResponse Gets the (base)name of the current RSP file
No Results!

Last month downloads

Details

Date 2011-05-05
License LGPL (>= 2.1)
URL http://www.braju.com/R/
LazyLoad TRUE
Repository CRAN
Repository/R-Forge/Project r-dots
Repository/R-Forge/Revision 576
Date/Publication 2011-06-25 05:54:00
Packaged 2011-05-06 20:41:19 UTC; rforge

Include our badge in your README

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