Description
Runs user-created R language scripts.
Configuration
To add the RScript AI & Machine Learning agent to a stream, follow the steps below:
- Ensure you have a use case open in the stream designer, this can be a new use case or an existing use case
- From the toolbox on the left expand the AI & Machine Learning option and scroll down until you can see “RScript”
- You can also use the search in the header to find the agent quickly
- Click and drag the RScript AI & Machine Learning agent from the toolbox onto the canvas
- Rename the agent by clicking into the text area to the right of the icon
- Save the Stream by clicking the save button in the action bar
- Hover over the icon for the agent until it turns orange and then double click to open the configuration page
- You can optionally use the configure option on the action bar once you have selected the specific agent and then clicking this option
- Configuration options
- The Collection drop-down allows you to associate this agent with a specific collection. The selected option would be, by default, the same as the collection that was selected for the use case. If you do need to change it to another collection, select a different collection from the drop-down.
- Script options
- If required, select the “Bulk Input?” checkbox.
- Type your RScript code in the space provided.
- Output options
- Select how your payload should be created by selecting one of the options in the drop-down:
- Same as Existing
- Existing with Addition
- New
- Add any outputs required in the Outputs grid
- Click on the “+”-button to add a new row
- Specify the Name
- Select the Data Type
- Select how your payload should be created by selecting one of the options in the drop-down:
- Click Apply on the action bar, and then save the stream using the save button
Before this function can be used, R needs to be downloaded and installed on the Data Stream Designer server (click here for instructions).
Press Ctrl+Space while typing to bring up an Intellisense box which contails all input variables and any existing output variables
Manuals for R syntax and functions can be found here.
Limitations
None at this time
Release Notes
Version: | 3.05 |
Released: | 02-July-2018 |
Release Notes: | Changed to integrated loading. |
Version | Released | Release Notes |
3.04 | 01-July-2018 |
|
3.03 | 26-June-2018 |
|
3.02 | 7-Sep-2018 | Fix: Agent is packaged as Virtual. |
3.01 | 8-Aug-2018 | Added error endpoint. |
3.0 | 18-Nov-2017 | Converted to v3 framework. |