Provides a high-level integration for the 'Java' platform that makes 'Java' objects easy to use from within 'R'; provides a unified interface to integrate 'R' with several programming languages; and features extensive data exchange between 'R' and 'Java'. The 'jsr223'-supported programming languages include 'Groovy', 'JavaScript', 'JRuby' ('Ruby'), 'Jython' ('Python'), and 'Kotlin'. Any of these languages can use and extend 'Java' classes in natural syntax. Furthermore, solutions developed in any of the 'jsr223'-supported languages are also accessible to 'R' developers. The 'jsr223' package also features callbacks, script compiling, and string interpolation. In all, 'jsr223' significantly extends the computing capabilities of the 'R' software environment.
// // // // // // // // // // // // // // // // // // // // // // // // // // // // // News for package jsr223 // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Documentation updated to reflect paper accepted by The R Journal. Also, documentation includes notes regarding Nashorn's deprecation in Java 11.
Due to Nashorn's deprecation, no script engines are guaranteed to be available during installation of the package. Therefore, all automated tests have been removed from the package.
ScriptEngine$new() will automatically convert paths in class.path
to
fully-qualified paths. This resolves errors caused when relative class
paths are used and the current working directory changes.
The function getKotlinScriptEngineJars() will always return fully-qualified paths.
Suppressed data exchange testing that requires long doubles on platforms that do not support long doubles.
Changed data exchange tests involving Java bytes and JavaScript Nashorn variables. Nashorn behavior changed in Java 9 and 10 to convert Java Byte objects to Integer objects automatically when set to a JavaScript variable.
Updated Java version check during package initialization.
Minor changes in vignette.