首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:jsr223: A Java Platform Integration for R with Programming Languages Groovy, JavaScript, JRuby, Jython, and Kotlin
  • 本地全文:下载
  • 作者:Floid R. Gilbert ; David B. Dahl
  • 期刊名称:R News
  • 印刷版ISSN:1609-3631
  • 出版年度:2018
  • 卷号:10
  • 期号:2
  • 页码:440-454
  • 语种:English
  • 出版社:The R Foundation for Statistical Computing
  • 摘要:The R package jsr223 is a high-level integration for five programming languages in the Java platform: Groovy, JavaScript, JRuby, Jython, and Kotlin. Each of these languages can use Java objects in their own syntax. Hence, jsr223 is also an integration for R and the Java platform. It enables developers to leverage Java solutions from within R by embedding code snippets or evaluating script files. This approach is generally easier than rJava’s low-level approach that employs the Java Native Interface. jsr223’s multi-language support is dependent on the Java Scripting API: an implementation of “JSR-223: Scripting for the Java Platform” that defines a framework to embed scripts in Java applications. The jsr223 package also features extensive data exchange capabilities and a callback interface that allows embedded scripts to access the current R session. In all, jsr223 makes solutions developed in Java or any of the jsr223-supported languages easier to use in R.
国家哲学社会科学文献中心版权所有