org.rosuda.REngine
Class REngineStdOutput

java.lang.Object
  extended by org.rosuda.REngine.REngineStdOutput
All Implemented Interfaces:
REngineCallbacks, REngineOutputInterface

public class REngineStdOutput
extends java.lang.Object
implements REngineCallbacks, REngineOutputInterface

implementation of the REngineOutputInterface which uses standard output.


Constructor Summary
REngineStdOutput()
           
 
Method Summary
 void RFlushConsole(REngine eng)
          called by R to flush (display) any pending console output.
 void RShowMessage(REngine eng, java.lang.String text)
          called when R wants to show a warning/error message box (not console-related).
 void RWriteConsole(REngine eng, java.lang.String text, int oType)
          called when R prints output to the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

REngineStdOutput

public REngineStdOutput()
Method Detail

RWriteConsole

public void RWriteConsole(REngine eng,
                          java.lang.String text,
                          int oType)
Description copied from interface: REngineOutputInterface
called when R prints output to the console.

Specified by:
RWriteConsole in interface REngineOutputInterface
Parameters:
eng - calling engine
text - text to display in the console
oType - output type (0=regular, 1=error/warning)

RShowMessage

public void RShowMessage(REngine eng,
                         java.lang.String text)
Description copied from interface: REngineOutputInterface
called when R wants to show a warning/error message box (not console-related).

Specified by:
RShowMessage in interface REngineOutputInterface
Parameters:
eng - calling engine
text - text to display in the message

RFlushConsole

public void RFlushConsole(REngine eng)
Description copied from interface: REngineOutputInterface
called by R to flush (display) any pending console output.

Specified by:
RFlushConsole in interface REngineOutputInterface
Parameters:
eng - calling engine