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

Last month downloads

Details

Date 2011-02-14
License LGPL (>= 2.1)
URL http://www.braju.com/R/
LazyLoad TRUE
Packaged 2011-02-15 02:20:38 UTC; hb
Repository CRAN
Date/Publication 2011-02-15 09:51:34

Include our badge in your README

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