You are viewing the RapidMiner Server documentation for version 9.2 - Check here for latest version

Installing Extensions

Installing extensions enables you to expand the power of RapidMiner.

Note that any extensions used by RapidMiner Server must also be installed on RapidMiner Job Agent and RapidMiner Studio instances that you are using to create or execute the RapidMiner Server process(es). You must install the same extension version on all platforms.

With version 9.2 an automatic synchronization of resources between RapidMiner Server and the connected Job Agents was introduced. An extension that has been installed on RapidMiner Server will automatically be available on the Job Agent as well.

To install an extension on RapidMiner Server, follow these steps:

  1. Locate RapidMiner Server's extension folder. By default it is the resources/extensions/ folder in the RapidMiner Server home folder. If you are unsure, check the setting on the Administration > System Information > System settings page. The folder location is the value defined for the property com.rapidanalytics.plugindir:

    If the property is not defined, you can add it and assign any folder on the server that you have write permissions to.

  2. Extensions can be downloaded from the RapidMiner RapidMiner Marketplace. If you already installed the extension on RapidMiner Studio, you can copy it from the RapidMiner Studio extension directory (in .RapidMiner/managed of the user home directory). Download or copy the extension, which is stored as a .jar file.

  3. Copy the extension to the extensions folder that you located in step 1.

  4. Restart RapidMiner Server.

  5. Open the Administration > Operators & Extensions page and change to the Extensions tab to verify the extension is correctly installed:

Example: Installing the R Scripting extension

Before using, be sure that the same version of the extension is also installed on the RapidMiner Studio instance that you are using to create the RapidMiner Server process(es).

The R Extension has been deprecated (as of RapidMiner Studio 6.4) and replaced with the R Scripting extension. While you can still use the R Extension, we highly recommend you use the more intuitive and “thinner” R Scripting version.

Follow these instructions to install and configure the R Scripting extension on RapidMiner Server:

  1. Log in to RapidMiner RapidMiner Marketplace.

  2. Search for the extension R scripting:

  3. Click Download File and accept the terms of the license agreement.

  4. Click theRapidMiner Download link to download the extension. The Save As dialog appears.

  5. Browse to the plugins directory (the path defined by the com.rapidanalytics.plugindir property setting) to save the .jar file.

  6. Next, verify that your system has the following components installed:

    • R distribution
    • R package data.table
  7. Open Administration > System Setting and add the system setting rapidminer.r_scripting.path to define the installation path. Enter the path to your RScript executable in the R installation directory as the value for the property. Be certain that the path points to the RScript executable (for Windows, RScript.exe), not the R executable (for Windows, R.exe).

  8. Click Submit.

  9. Add the path of the RScript executable to the Container Properties of each Job Agent. The properties file is located in the Job Agent home folder: {homeDir}/config/rapidminer/

      # Set the path of the R binary for the R Scripting extension.
      # Linux path: /usr/bin/Rscript
      # Note that you must use forward slash as the path separator on Windows
      # Windows path: C:/Program Files (x86)/R/Rscript.exe
  10. Restart RapidMiner Server; the R Scripting extension is now available.

If the R Scripting extension is installed on a connected RapidMiner Studio instance, you can now create processes with the Execute R operator and run them on your server.