timeBench.R.RserveEngineConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timebench Show documentation
Show all versions of timebench Show documentation
TimeBench, a flexible, easy-to-use, and reusable software library written in Java that provides foundational data structures and algorithms for time- oriented data in Visual Analytics.
The newest version!
package timeBench.R;
import org.rosuda.REngine.REngine;
import org.rosuda.REngine.Rserve.RConnection;
import org.rosuda.REngine.Rserve.RserveException;
public class RserveEngineConnection implements REngineConnection {
private static RserveEngineConnection instance;
private REngine engine;
private RserveEngineConnection() throws RserveException {
engine = new RConnection();
}
public static synchronized RserveEngineConnection getInstance() throws RserveException {
if (null == instance) {
instance = new RserveEngineConnection();
}
return instance;
}
public REngine getREngine() {
return engine;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy