Class RTextConsole
java.lang.Object
de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.utils.RTextConsole
- All Implemented Interfaces:
org.rosuda.JRI.RMainLoopCallbacks
Text console adapter for R engines. This text console adapter is used to log inputs, outputs and
the history for a corresponding R engine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the last message displayed on the R console.voidrBusy(org.rosuda.JRI.Rengine re, int which) rChooseFile(org.rosuda.JRI.Rengine re, int newFile) voidrFlushConsole(org.rosuda.JRI.Rengine re) voidrLoadHistory(org.rosuda.JRI.Rengine re, String filename) rReadConsole(org.rosuda.JRI.Rengine re, String prompt, int addToHistory) voidrSaveHistory(org.rosuda.JRI.Rengine re, String filename) voidrShowMessage(org.rosuda.JRI.Rengine re, String message) voidrWriteConsole(org.rosuda.JRI.Rengine re, String text) Used if text is written to the console.voidrWriteConsole(org.rosuda.JRI.Rengine arg0, String message, int arg2)
-
Constructor Details
-
RTextConsole
public RTextConsole()Construct a new console.
-
-
Method Details
-
rWriteConsole
Used if text is written to the console.- Parameters:
re- Connected R engine.text- Console output.
-
rBusy
public void rBusy(org.rosuda.JRI.Rengine re, int which) - Specified by:
rBusyin interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rReadConsole
- Specified by:
rReadConsolein interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rShowMessage
- Specified by:
rShowMessagein interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rChooseFile
- Specified by:
rChooseFilein interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rFlushConsole
public void rFlushConsole(org.rosuda.JRI.Rengine re) - Specified by:
rFlushConsolein interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rLoadHistory
- Specified by:
rLoadHistoryin interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rSaveHistory
- Specified by:
rSaveHistoryin interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
rWriteConsole
- Specified by:
rWriteConsolein interfaceorg.rosuda.JRI.RMainLoopCallbacks
-
getLastMessage
Returns the last message displayed on the R console.- Returns:
- the last message on the R console.
-