Description Usage Arguments Fields and Methods Author(s) See Also Examples
Package:  R.io 
Class RspEngine
Object
~~|
~~+--RspEngine
Directly known subclasses:
public static class RspEngine
extends Object
Class for processing [R] Server Pages (RSP).
| 1 | 
| out | Output connection where to response should be written.
If  | 
Methods:
| getCurrentConnection | - | |
| getCurrentPath | - | |
| getHtmlPrintStream | - | |
| getOutput | - | |
| getOutputPath | - | |
| parseAttributes | - | |
| process | - | |
| processRspCode | - | |
| throwException | - | |
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstanciationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, save
Henrik Bengtsson (http://www.braju.com/R/)
For other HTML output options, see HtmlPrintStream.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(R.lang)  # System
inn <- system.file("rsp", "RspEngine.rsp", package="R.io")
file.show(inn)
out <- File$createTempFile("RspEngine-", ".html")
cat("Writing HTML code to ", out, "...", sep="")
rsp <- RspEngine(out)
con <- file(inn)
process(rsp, con)
cat("ok\n")
if (interactive()) {
  System$openBrowser(out)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.