[R] R functions in Java

lord12 trexinsd at yahoo.com
Thu Oct 14 18:13:27 CEST 2010


For example, if I have the function in R:

sum = function(a,b)
{
  sum = a+b
 return sum
 } 

In Java:

re.eval(sum(a,b)) gives me an error. 
-- 
View this message in context: http://r.789695.n4.nabble.com/R-functions-in-Java-tp2995428p2995620.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list