org.rosuda.REngine
Interface REngineOutputInterface

All Known Implementing Classes:
REngineStdOutput

public interface REngineOutputInterface

interface defining delegate methods used by REngine to forward output callbacks from R.


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.
 

Method Detail

RWriteConsole

void RWriteConsole(REngine eng,
                   java.lang.String text,
                   int oType)
called when R prints output to the console.

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

RShowMessage

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

Parameters:
eng - calling engine
text - text to display in the message

RFlushConsole

void RFlushConsole(REngine eng)
called by R to flush (display) any pending console output.

Parameters:
eng - calling engine