Thanks Jeff; indeed it works:
.jcall("java/lang/System", method = "gc")
On 02/05/2018 11:53 PM, Jeff Newmiller wrote:
> rJava offers a mechanism to call arbitrary methods in Java. Wouldn't you use that mechanism to call whatever you would call if you were programming in Java (e.g. System.gc)?