Latest Version: 0.72
Download: CGIwithR.tar.gz
This package allows one to use R scripts as CGI programs for generating dynamic Web content. HTML forms and other mechanisms to submit dynamic requests can be used to provide input to R scripts via the Web to create content that is determined within that R script.
The latest version introduces some slight user-level incompatibilities
from the previous version. Specifically, if multiple values are
submitted for a parameter (e.g. two or more checkbox elements are
selected in an HTML form), the corresponding formData element
is a character vector containing all of these values, not just the
first. This makes it easier to access them all. The original
mechanism is still available
and can be selected when the package is installed
via the flag --enable-old-style-formdata
for the configure script.
One can do this with a command such as
R CMD INSTALL --configure-args='--enable-old-style-formdata' CGIwithR_0.72.tar.gz
Origins of the Package
The package was originally written by David Firth at the
University of Oxford and now at the University of Warwick. In
November '05, Duncan Temple Lang extended it, primarily to handle
multipart/form-data POST submissions. I (DTL) am responsible for the
package now, but David deserves the credit for the package.
Documentation
Duncan Temple Lang
<duncan@wald.ucdavis.edu>
Last modified: Thu Dec 8 08:27:26 PST 2005