R.rsp v0.4.0

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

Last month downloads

Details

Date 2010-09-15
License LGPL (>= 2.1)
URL http://www.braju.com/R/
LazyLoad TRUE
Packaged 2010-09-16 15:19:10 UTC; hb
Repository CRAN
Date/Publication 2010-09-16 18:40:11

Include our badge in your README

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