Hub
Pricing About
NodeNode / Manipulator

R Snippet

Community NodesR Scripting
Drag & drop
Like

This node executes a snippet/script using an R server (Rserve). The script for R can be selected from a snippet template repository. RGG ( R GUI Generator ) is used to configure the R code using a graphical user interface in a way that the user does not need to know scripting in R. URL of the template file can be set in KNIME->Preferences->KNIME->R-Scripting
The input data table is sent to R as a data frame named 'kIn'. The output data table is pulled from R. It has to be an R data frame named 'rOut'.

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 back end, make sure that Rserve is running somewhere, and KNIME is accordingly configured (KNIME->Preferences->KNIME->R-Scripting). Scripting integration Wiki (R server)

Node details

Input ports
  1. Type: Table
    Data table
    A data table
Output ports
  1. Type: Table
    Data table returned from the snippet
    The data table that the snippet returns

Extension

The R Snippet node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits