Downloads

You can use Renjin as a standalone application, either in a simple GUI or from the command line, or as a package in a Java application. Select on of the download options and read about the prerequisites and the installation instructions below.

Java Library

Available for all platforms

Add Renjin to any Java, Scala, or other JVM project and run R code with the standard Java Scripting API.

Renjin Studio GUI

Available for all platforms

Renjin studio provides a very basic GUI to interact with the interpreter which works on all platforms with Java installed.

Command Line Tools

*nix and Mac OS X platforms

Prefer working in a terminal? Download one of the following packages.

Requirements

Renjin will run on any platform with a JVM installed. Therefore, if you want to run Renjin, you need to have installed at least version 7 (or greater) of the Java SE Runtime Environment (JRE). If you haven't, then download and install it from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Running the GUI

The Swing-based Studio GUI is a very simple demo for the moment. Download the JAR file and double-click to execute, or start with the following command:

java -jar renjin-studio-RELEASE-jar-with-dependencies.jar

where RELEASE should be replaced with the version number.

Installing the .deb Package

The Debian package can be installed on Ubuntu Linux using the following command:

sudo dpkg -i renjin-debian-package-RELEASE.deb

After this, you can start Renjin by simply typing renjin on your command line.

Adding to a Maven Project

Using a a modern build tool such a Maven is definitely recommended, particularly if you're planning on including R packages which often have several levels of transitive dependencies.

You can add Renjin to your Maven project by adding the following to your pom.xml file:

<dependencies>
  <dependency>
    <groupId>org.renjin</groupId>
    <artifactId>renjin-script-engine</artifactId>
    <version>RELEASE</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

You can find details on adding Renjin to your Gradle, SBT, and other types of projects in our Project Setup Guide.