Hi, ?eval seems like a good candidate
HTH, baptiste 2010/1/15 Jiiindo <jiin...@yahoo.com>: > > 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. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.