Open in R

This Node Is Deprecated — This node is kept for backwards-compatibility, but the usage in new workflows is no longer recommended. The documentation below might contain more information.

This node opens a local R session and pushes the data table from Knime into R. If a snippet/script is selected and the GUI configured, it is automatically available from the clipboad and can be pasted to R. This enables quick prototyping of a script in R.
The input data table is sent to R as a data frame named "kIn". If the optional input ports are used then data frames are named "kIn1", "kIn2" and "kIn3".

Script Editor:
Copy, cut or paste and R code to the editor and/or select the columns from your data table. If a template is loaded used the GUI to adapt the script to the input data.

Templates:
Select a snippet template from the template repository (double-click or "Use this template") to use that script and see the GUI. The description explains what a snippet does. Then configure the GUI according to your input data.

IMPORTANT :
This node is using R as backend, make sure that Rserve is running somewhere, and Knime is accordingly configured (Knime->Preferences->Knime->R-Scripting). Scripting integration Wiki (R server)

Options

Scipt Editor/Unlink from Template
Gives access to the R script after adaptation by the GUI.
Scipt Editor/Edit Template
Gives access to the RGG script.
Templates/Refresh
Loads again the template file.
Templates/Gallery
Generate a temporary webpage shown in a browser which gives an overview about all available templates.
Templates/Description,Source
Desciption explains what this snippet does. Source displays the RGG script.
Templates/Use this template
Click to load the GUI (or double-click onto the template)

Input Ports

Icon
A data table pushed to R
Icon
First optional data table pushed to R
Icon
Second optional data table pushed to R

Output Ports

This node has no output ports

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.