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.

______________________________________________
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.

Reply via email to