| omegahatReference {Java} | R Documentation |
On occassion, one can lose a reference to a Java object stored in the Omegahat databases. If one knows its identifier (i.e. Omegahat name) and whether it is an anonymous or named reference, one can recreate an R object that refers to this Java object and use this R object in subsequent calls to the Java interface.
omegahatReference(key, named=T)
key |
the name used by Omegahat to store the Java object. |
named |
a logical value indicating whether this is a named
(TRUE)
or anonymous (FALSE) reference. |
An object of class either
AnononymousOmegahatReference
or
NamedOmegahatReference.
This has fields
key |
The Omegahat name by which the Java object is
known. This is the value of the argument key. |
className |
the class name of the Java object. This is always empty. |
Duncan Temple Lang
http://www.omegahat.org/RSJava
omegahatReference("x")
omegahatReference("x",F)