getNumJavaConverters: Returns the number of converters registered between R and...

Description Usage Arguments Details Value Author(s) References See Also Examples

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.

Usage

1
getNumJavaConverters(which=c(fromJava = FALSE, toJava = TRUE))

Arguments

which

a logical vector in which FALSE indicates from Java to R and TRUE indicates from R to Java.

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.

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.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

getJavaConverterDescriptions

Examples

1
2
3

SJava documentation built on Oct. 5, 2016, 4:17 a.m.