Displaying 4 results from an estimated 4 matches for "funargs".
Did you mean:
fnargs
2005 Jul 20
2
unable to call R t-test from Java
...(value );
System.err.println("\r\n");
}
}
/**
* if I pass mean a org.omegahat.Environment.DataStructures.numeric what do I get? NaN
*/
static public void runMeanByNumericList_nan(REvaluator e, ROmegahatInterpreter interp)
{
Object[] funArgs = new Object[1];
// given argument is not numeric or logical
org.omegahat.Environment.DataStructures.numeric rList1 = new org.omegahat.Environment.DataStructures.numeric(3);
double[] dList = new double[3];
dList[0] = (double) 1.1;
d...
2003 Oct 23
0
Problem w/ SJava package
...rgs){
ROmegahatInterpreter interp = new ROmegahatInterpreter(
ROmegahatInterpreter.fixArgs(args),false);
REvaluator e=new REvaluator();
System.out.println("done w/ evaluator constructor");
// String[] objects = (String[])e.call("objects");
int[] seq;
Object[] funArgs = new Object[2];
funArgs[0]=new Integer(1);
funArgs[1]=new Integer(10);
seq=(int[])e.call("seq",funArgs);
System.out.println("length "+seq.length);
for(int i=0;i<seq.length;i++){
System.out.print(seq[i]+" ");
}
System.out.println();
}
pub...
2008 Dec 08
4
R and Scheme
I've read in many places that R semantics are based on Scheme semantics. As
a long-time Lisp user and implementor, I've tried to make this more precise,
and this is what I've found so far. I've excluded trivial things that
aren't basic semantic issues: support for arbitrary-precision integers;
subscripting; general style; etc. I would appreciate corrections or
additions from
2005 Jul 27
1
unable to source a .R file using RJava
...e != null)
interp.show(value);
}
/**
*
*/
static public void main(String[] args)
{
ROmegahatInterpreter interp = new ROmegahatInterpreter(ROmegahatInterpreter.fixArgs(args), false);
REvaluator e = new REvaluator();
Object[] funArgs;
String[] objects;
Object value;
int i;
run_sourceRFile(e, interp);
}
}
the corresponding core dump when using java
--------------------------------------------
[lobrien at fox] ./RJava
Loading RInterpreter library
R : Copyright 2005, The R Foundation for S...