]> gerrit.simantics Code Review - simantics/r.git/blob - bundles/org.simantics.r.scl/src/org/rosuda/REngine/REngineStdOutput.java
Restructured R repository for Tycho POMless builds.
[simantics/r.git] / bundles / org.simantics.r.scl / src / org / rosuda / REngine / REngineStdOutput.java
1 package org.rosuda.REngine;
2
3 /** implementation of the {@link REngineOutputInterface} which uses standard output. */
4 public class REngineStdOutput implements REngineCallbacks, REngineOutputInterface {
5         public synchronized void RWriteConsole(REngine eng, String text, int oType) {
6                 ((oType == 0) ? System.out : System.err).print(text);
7         }
8         
9         public void RShowMessage(REngine eng, String text) {
10                 System.err.println("*** "+text);
11         }
12         
13         public void RFlushConsole(REngine eng) {
14         }
15 }