Description Usage Arguments Value Author(s)
These functions provide utilities that are useful when testing different aspects of R / Java communication.
1 2 3 | checkJava2R(javaData, rVariable)
checkPkgVersion(pkgName, expVersion)
reflectObj(x, verbose=FALSE)
|
javaData |
Object translated from Java |
rVariable |
R variable containing an instance that is supposed to
be identical to |
pkgName |
Name of package whose version will be determined. |
expVersion |
Character string with expected package version. |
x |
Object to be returned to Java. |
verbose |
Logical, indicating whether R reports information about the object. |
checkJava2R
returns TRUE
if javaData
is identical
to rVariable
, or signals an error otherwise.
checkPkgVersion
returns true if the installed package matches
the expected package, or signals a warning otherwise.
reflectObj
returns the object.
Nianhua Li
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.