Bring the Power of R
to Java

Renjin is the JVM-based interpreter for the R language

Seamless integration between R and Java

  • Embed Renjin directly in your Java project as a library
  • Zero-overhead data sharing between R and Java
  • Pure-Java versions of CRAN and BioConductor packages
  • Multi-threaded execution

Quick start with Java

// Add Renjin as a dependency to pom.xml or build.gradle

RenjinScriptEngine engine = new RenjinScriptEngine();

// Evaluate R inline

engine.eval("df <- data.frame(x = 1:10, y = rnorm(n = 10))");
engine.eval("print(lm(y ~ x, df))");

// Use CRAN and BioConductor packages

engine.eval("ggplot2::qplot(x, y, data = df)")

// Evaluate external R script

engine.eval(new java.io.FileReader("script.R"));
Read the complete guide ⟶

Deploy R code faster and hassle-free

Learn how OpsFactor uses Renjin to deploy their supply-chain optimization system to Amazon Beanstalk, combining an R-language model built on the forecast package with a Java web application.

Read the case study ⟶
OpsFactor Logo

Renjin Enterprise Support

For mission-critical applications, purchase an annual support subscription that includes:

  • Long-term support for Renjin Certified Releases
  • 48-hour SLA for critical defects
  • Early-access to bug fixes
  • Access to Java 6 and Java 7 compatible builds
Details & Pricing ⟶
Workstation running icCube

Extend your Java application with the power of R

Business intelligence vendor icCube relies on Renjin empower their customers with the rich capabilities of the R language for statistical analysis.

Renjin is licensed under the GPL v2, but can be used to build plugins for commercial software applications.

Read the case study ⟶