Install the R Scripting extension
Make sure that the same version of the extension is installed on theRapidMiner工作室本月ancethat you are using to create the RapidMiner Server process(es).
Follow these instructions to install and configure theR Scriptingextension on RapidMiner Server:
Log in toRapidMiner Marketplace.
Search for the extensionR scripting:
ClickDownload Fileand accept the terms of the license agreement.
Click theDownloadlink to download the extension. TheSave Asdialog appears.
Browse to the plugins directory (the path defined by the
com.rapidanalytics.plugindir
property setting) to save the.jar
file.Next, verify that your system has the following components installed:
- Rdistribution
- R package
data.table
OpenAdministration > System Settingandadd 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
).ClickSubmit.
.Edit the
rapidminer.properties
file inside the{job-agent-home}/config/rapidminer/
directory, where{job-agent-home}
means the home folder of the job agent (usually located in the home of your Server installation). If the file doesn't exist, create a new one. For more info visit thedocumentation for job agents. Add the propetyrapidminer.r_scripting.path
to the file, with the same value you used instep 7.Restart RapidMiner Server; the R Scripting extension is now available.
If you want to run processes asweb服务, you can skipstep 9, if you want torun processes only manually, you can skipstep 7.
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.