Displaying 2 results from an estimated 2 matches for "emptycallbacks".
2010 Mar 24
1
R and/or REngine kills Java
...File.exists()) { // run R script
// start R engine
if (!Rengine.versionCheck()) {
System.err.println("** Version mismatch - Java files don't match
library version.");
System.exit(1);
}
// creating R engine
Rengine rEngine = new Rengine(null, false, new EmptyCallbacks());
// the engine creates R is a new thread, so we should wait until it's ready
if (!rEngine.waitForR()) {
System.out.println("Cannot load R for " + this.getClass().getName());
return;
}
// executing logic
try {
assign(rEngine, "filename",...
2010 Mar 24
0
R-help ordinal regression
...rr.println("**
> Version mismatch - Java files don't match
> library version.");
> ??? ??? ???
> ??? ??? System.exit(1);
> ??? ??? ???
> ??? }
> ??? ??? ???
> ??? // creating R engine
> ??? ??? ???
> ??? Rengine rEngine = new Rengine(null,
> false, new EmptyCallbacks());
> ??? ??? ???
> ??? // the engine creates R is a new thread,
> so we should wait until it's ready
> ??? ??? ???
> ??? if (!rEngine.waitForR()) {
> ??? ??? ???
> ??? ???
> System.out.println("Cannot load R for " +
> this.getClass().getName());
> ??? ??...