| AnonymousOmegahatReference {Java} | R Documentation |
These methods allow one to invoke Java methods
in the form
jobj$methodName(arg1,arg2,....)
$.AnonymousOmegahatReference(obj, name) $.NamedOmegahatReference(obj, name)
obj |
the reference to the Java object. |
name |
the name of the Java method or field being accessed. |
This is merely syntactic sugar for
.Java(obj, name,)
The return value is a function which remembers
the arguments to this function call and, when called,
results in a call to .Java using
those arguments.
Duncan Temple Lang
http://www.omegahat.org/RSJava
p <- .Java("System", "getProperties", .convert=F)
p$getProperty("java.class.path")