SJava (version 0.98.0)

.RSJava.symbol: Expands a name to a C routine name in this package.

Description

In order to avoid conflicts with other packages having the same C routine names, we use a macro RS_Java to identify the names of C routines. This akes it easy for us to generate unique names. This function allows callers of these routines from R (via the .C and .Call functions) to refer to them via their non-expanded name and have this function perform the appropriate expansion. Currently, this prefixes the regular name with "RS_JAVA_".

Usage

.RSJava.symbol(name)

Arguments

name
The unexpanded name of the C routine, i.e. without the prefix.

Value

The string identifying the C routine corresponding to the short (unexpanded) reference given in name.

References

http://www.omegahat.com/RSJava

Examples

Run this code
  .C(.RSJava.symbol("isJVMInitialized"), logical(1))

Run the code above in your browser using DataLab