Displaying 1 result from an estimated 1 matches for "runttestbyeval_cores".
2005 Jul 20
2
unable to call R t-test from Java
...package org.omegahat.R.Java.Examples;
import org.omegahat.R.Java.ROmegahatInterpreter;
import org.omegahat.R.Java.REvaluator;
public class JavaRCall2
{
/**
* want to see if I can eval a t.test command like what I would run in the
* R command line
*/
static public void runTTestByEval_cores(REvaluator e, ROmegahatInterpreter interp)
{
/* produces a core */
System.err.println("eval a t.test");
Object value = e.eval("t.test (c(1,2,3), c(4,5,6))");
if (value != null)
interp.show(value);
}
/**
* want to...