R.rsp v0.3.2

0

Monthly downloads

0th

Percentile

R Server Pages

An R Server Page (RSP) is a document that contains both text in a format of choice (HTML, TeX, ...) as well as R source code within special tags. An RSP file can be translated into a so called R servlet, which is an R script that outputs the final document when sourced. This way documents in any format can be generated dynamically using R, e.g. automatic reports of statistical analysis. Utilizing an internal cross-platform web server, this package provides dynamic help pages in HTML. If other packages provide RSP help pages, these are automatically linked to in the RSP main menu.

Functions in R.rsp

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

Last month downloads

Details

Date 2007-04-07
License LGPL version 2.1 or newer (the releases)
URL http://www.braju.com/R/
ContribURL http://www.maths.lth.se/help/R/
DevelURL http://www.maths.lth.se/help/R/
LazyLoad TRUE
Packaged Sun Apr 8 12:11:14 2007; hb

Include our badge in your README

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