0 ×

Open in R

DeprecatedRSnippet-Node extension for KNIME Workbench version 4.0.0.v202009100739 by Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)

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.

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.

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)


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.
Loads again the template file.
Generate a temporary webpage shown in a browser which gives an overview about all available templates.
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

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

Best Friends (Incoming)


To use this node in KNIME, install KNIME R Scripting extension from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


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.