
jython.call( rJython, py.foo, ... )
rJython
The user has to be careful to indicate named parameters as required according to python conventions.
rJython <- rJython()
jython.call( rJython, "len", 1:3 )
a <- 1:4
b <- 5:8
rJython$exec( "def concat(a,b): return a+b" )
jython.call( rJython, "concat", a, b)
Run the code above in your browser using DataLab