Categories

Versions

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 onRapidMiner Job AgentandRapidMiner Studioinstances 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 anautomatic synchronization of resourcesbetween 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 theresources/extensions/folder in theRapidMiner Server home folder. If you are unsure, check the setting on theAdministration > System Information > System settingspage. The folder location is the value defined for the propertycom.rapidanalytics.plugindir:

    如果没有定义的属性,你可以add itand assign any folder on the server that you have write permissions to.

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

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

  4. Restart RapidMiner Server.

  5. Open theAdministration > Operators & Extensionspage and change to theExtensionstab 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 theRapidMiner Studio instancethat you are using to create the RapidMiner Server process(es).

TheR Extensionhas been deprecated (as of RapidMiner Studio 6.4) and replaced with theR Scriptingextension. While you can still use theR Extension, we highly recommend you use the more intuitive and “thinner”R Scriptingversion.

Follow these instructions to install and configure theR Scriptingextension on RapidMiner Server:

  1. Log in toRapidMinerRapidMiner Marketplace.

  2. Search for the extensionR scripting:

  3. ClickDownload Fileand accept the terms of the license agreement.

  4. Click theRapidMinerDownloadlink to download the extension. TheSave Asdialog appears.

  5. Browse to the plugins directory (the path defined by thecom.rapidanalytics.plugindirproperty setting) to save the.jarfile.

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

    • Rdistribution
    • R packagedata.table
  7. OpenAdministration > System Settingandadd the system settingrapidminer.r_scripting.pathto 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. ClickSubmit.

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

    ## # 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 # rapidminer.r_scripting.path=/usr/bin/RScript
  10. Restart RapidMiner Server; the R Scripting extension is now available.

If theR Scriptingextension is installed on a connected RapidMiner Studio instance, you can now create processes with theExecute R operatorand run them on your server.