using R programming in java

Viewed 25717

We are working on a complex statistical project on Java. We did the original code in the R programming language. Is there a way to convert this code to Java code (converter) or otherwise how can we use R in a Java project?

4 Answers

The another option to run R on JVM is FastR. According FastR's documentation:

FastR is an implementation of the R Language in Java atop Truffle, a framework for building self-optimizing AST interpreters.

FastR is currently available in two forms:

  • As a pre-built binary with the Truffle implementations of Ruby and JavaScript for Linux and Mac OS X. Unfortunately, there is no Windows version available yet.
  • As a source release on GitHub. This option does not come with Ruby or JavaScript.
Related