[R] call R with un expression (String)?

Jiiindo jiindoo at yahoo.com
Fri Jan 15 14:24:25 CET 2010


Hello all,
I want to call R from java. And I have a expression in Java as a String,
example : (variable 1 + variable 2)* variable 3 and i want R calculate this
expression. How can I do?
ex: 
Java
-int x1,x2;
-float x3;
-String s=(  x1.toString()+x2.toString()   )  *   x3.toString();
R:
calculate expression s???? and return in to Java?

Thanks 
Jin
-- 
View this message in context: http://n4.nabble.com/call-R-with-un-expression-String-tp1014832p1014832.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list