R.rsp v0.4.1

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

Last month downloads

Details

Date 2011-01-06
License LGPL (>= 2.1)
URL http://www.braju.com/R/
LazyLoad TRUE
Repository CRAN
Repository/R-Forge/Project r-dots
Repository/R-Forge/Revision 434
Date/Publication 2011-01-08 13:29:11
Packaged 2011-01-06 21:37:57 UTC; rforge

Include our badge in your README

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