getJavaHandler: Obtains the current R foreign reference manager

Description Usage Value Author(s) References See Also Examples

Description

This queries the C code to retrieve the R object that manages the exporting of R objects to foreign systems such as Omegahat and Java.

Usage

1

Value

A list (or object) that provides the functions needed by a reference manager. See setJavaHandler and javaHandlerGenerator for a description of these methods.

Author(s)

Duncan Temple Lang, John Chambers

References

http://www.omegahat.org/RSJava

See Also

setJavaHandler javaHandlerGenerator

Examples

1
2
3
4
5
6
  old <- getJavaHandler()
  old$references()
  old$total()
  old$createReference(rnorm(100))
  old$addReference(foreignReference(rnorm(100), "mydata"))
  old$remove("mydata")

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