getNumJavaConverters: Returns the number of converters registered between R and Java
Description
This returns the number of converters currently registered
between R and Java. The argument
specifies the desired direction of the conversion, by
default querying both from Java to R and from R to Java.
a logical vector in which
FALSE indicates from Java to R
and TRUE indicates from R to Java.
Value
An integer vector with the same length
as the argument which.
The value of each element is the number
of registered converters in the corresponding list.
Details
This accesses the internal C data structures
that maintain the converter lists. These
are in C so that the low-level JNI code can
access them directly without the overhead of
converting to reference objects and losing
contextual information.