All Downloads are FREE. Search and download functionalities are using the official Maven repository.

carosellini.rJava.REngine.0.9-7.source-code.REngineOutputInterface Maven / Gradle / Ivy

Go to download

Rserve is a TCP/IP server which allows other programs to use facilities of R (see www.r-project.org) from various languages without the need to initialize R or link against R library. Every connection has a separate workspace and working directory. Client-side implementations are available for popular languages such as C/C++, PHP and Java. Rserve supports remote connection, authentication and file transfer. Typical use is to integrate R backend for computation of statstical models, plots etc. in other applications.

The newest version!
package org.rosuda.REngine;

/** interface defining delegate methods used by {@link REngine} to forward output callbacks from R. */
public interface REngineOutputInterface {
	/** called when R prints output to the console.
	 *  @param eng calling engine
	 *  @param text text to display in the console
	 *  @param oType output type (0=regular, 1=error/warning)
	 */
	public void RWriteConsole(REngine eng, String text, int oType);
	
	/** called when R wants to show a warning/error message box (not console-related).
	 *  @param eng calling engine
	 *  @param text text to display in the message
	 */
	public void RShowMessage(REngine eng, String text);
	
	/** called by R to flush (display) any pending console output.
	 *  @param eng calling engine */
	public void RFlushConsole(REngine eng);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy