book
Article ID: KB0080899
calendar_today
Updated On:
Description
What is 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")
Issue/Introduction
This articles provides information about the terrJava equivalent of the CRAN "rJava" package's .jlong() function