Skip to content
Prev 44880 / 63424 Next

How to call Java main method using rJava package?

On Jan 16, 2013, at 7:32 AM, Gaurav Dasgupta wrote:

            
.jcall("A","V","main",.jarray(list(), "java/lang/String")

But note that System.out is sent to stdout by Java so it won't output in the R console as R output so you should really avoid it.

You may consider using the stats-rosuda-devel mailing list for rJava questions.

Cheers,
Simon