Journal of Statistical Software (Feb 2020)

Integration of R and Scala Using rscala

  • David B. Dahl

DOI
https://doi.org/10.18637/jss.v092.i04
Journal volume & issue
Vol. 92, no. 1
pp. 1 – 18

Abstract

Read online

The rscala software is a simple, two-way bridge between R and Scala that allows users to leverage the unique strengths of both languages in a single project. Scala classes can be instantiated from R and Scala methods can be called. Arbitrary Scala code can be executed on-the-fly from within R and callbacks to R are supported. R packages can be developed based on Scala. Conversely, rscala also enables R code to be embedded within a Scala application. The rscala package is available from the Comprehensive R Archive Network (CRAN) and has no dependencies beyond base R and the Scala standard library.

Keywords