|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrvl.swv.AbstractEngine
rvl.swv.REngine
public class REngine
Engine for R code. Present version suppresses all echoing of code, and all output produced by a code chunk comes at the end. This is not Sweave's behavior.
Field Summary |
---|
Fields inherited from class rvl.swv.AbstractEngine |
---|
codeExt, commentEnd, commentStart, endCode, engineName, medExt, okfigfmts, outExt, startupCode |
Constructor Summary | |
---|---|
REngine()
|
Method Summary | |
---|---|
void |
closeFig()
Put code to close the graphics file created by setupFig |
void |
putExpr(java.lang.String expr)
Evaluate an expression and put it in the output stream |
void |
putSeparator(java.lang.String text)
Put code that will add the given text in a separate line of the engine's output. |
FigFile |
setupFig(java.lang.String chunkName)
Put code that will set up a file to receive figure output This method uses the contents of AbstractEngine.okfigfmts and negotiates
with the current FileInterface to determine what
figure format to actually use, and how to size it. |
Methods inherited from class rvl.swv.AbstractEngine |
---|
closeCodeFile, deleteCodeFile, getFileNames, openCodeFile, postProcess, putCode, putComment, putStartup, runCode, setBinary, setParents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public REngine()
Method Detail |
---|
public void putSeparator(java.lang.String text)
AbstractEngine
putSeparator
in interface EngineInterface
putSeparator
in class AbstractEngine
public void putExpr(java.lang.String expr)
AbstractEngine
putExpr
in interface EngineInterface
putExpr
in class AbstractEngine
public FigFile setupFig(java.lang.String chunkName)
AbstractEngine
AbstractEngine.okfigfmts
and negotiates
with the current FileInterface
to determine what
figure format to actually use, and how to size it.
The extending class should call this as a superclass method,
then use the properties of the returned object as needed in
outputting the needed setup code for the figure
setupFig
in interface EngineInterface
setupFig
in class AbstractEngine
public void closeFig()
AbstractEngine
closeFig
in interface EngineInterface
closeFig
in class AbstractEngine
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |