What is the terrJava equivalent of the CRAN "rJava" package's .jlong() function?

What is the terrJava equivalent of the CRAN "rJava" package's .jlong() function?

book

Article ID: KB0080899

calendar_today

Updated On:

Products Versions
Spotfire Enterprise Runtime for R All Versions

Description

What is the terrJava equivalent of the CRAN "rJava" package's .jlong() function?

Issue/Introduction

This articles provides information about the terrJava equivalent of the CRAN "rJava" package's .jlong() function

Resolution

The .JavaRef() function in TERR's "terrJava" package can be used to create/convert an array of objects of type "long" <[J> to pass to a Java method.

For example:
myObject <- c(111111111111, 222222222222, 333333333333) 
myObject <- .JavaRef(myObject, "[J")

 

Additional Information

Doc: Access Java Object References