lord12
2010-Oct-17 04:30 UTC
[R] Calling R function in Java that in turn calls a Java function
I have a function: call = function() { library(rJava) .jinit(classpath="C:/Documents and Settings/GV/workspace/Test2/bin", parameters="-Xmx512m") blah = .jcall("Test2", "D", "sum", 2,2) return(blah) } In java I do re.eval(call()) and I get a value of null. If I run the call function directly from R, however, I get 4 as a result. How do I fix this? -- View this message in context: http://r.789695.n4.nabble.com/Calling-R-function-in-Java-that-in-turn-calls-a-Java-function-tp2998791p2998791.html Sent from the R help mailing list archive at Nabble.com.