javaSig {Java}R Documentation

Converts an R type name to a Java type

Description

When specifying a Java type in the .sigs argument of the different method/constructor calls to influence which method is dispatched in the remote system and how R objects are converted, one must use the appropriate type specifier. This function converts R types to the corresponding Java string. This handles converting R primitive types such as integer to "I", double to "D", logical to "Z", etc. and classes to "Lpkg/subpkg/.../className;"

Usage

javaSig(name)

Details

This searches the mapping contained in .JavaSigs

Value

a string (character vector of length 1) with the Java type identifier corresponding to the input.

Author(s)

John Chambers, Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

RtoJavaSig

Examples