Description Usage Value Author(s) References Examples
This creates a closure that manages objects exported from the R session to Java/Omegahat as arguments to constructors and methods in that system. When the Java code invokes a method on such a reference, the R object is resolved by this closure and the appropriate R function invoked on that object.
1 |
A closure containing the “methods”
|
brokers a method request for a reference under the management of this handler, taking care of passing the arguments, identifying the appropriate method, and catching errors. |
|
creates an actual
|
|
adds an object to the list being managed by this reference handler. An explicit name can be provided in the call to this method, or otherwise a unique one is generated by the manager itself. |
|
discards the identified object from the list of objects being managed by this reference handler. |
|
retrieves a particular object being managed by this reference manager using the name of the reference. |
|
returns a (named) list of all the objects being managed by this reference manager. |
|
returns the number of references that have been managed by this object. This is used in constructing new unique names when an object is registered without an explicit identifier. |
Duncan Temple Lang, John Chambers
http://www.omegahat.org/RSJava
1 2 3 4 | ## Not run:
.JavaInit(callbackHandler = javaHandlerGenerator())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.