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)?

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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