R To R

Takes the R workspace from the input port and modifies it according to the entered R script. The node outputs an R workspace containing the updated variables.

More details about R:
http://www.r-project.org/
Short-refcard.pdf

Options

R Snippet

R Script
The code being executed in R. Code may be executed in full or in part using the Evaluate Script and Evaluate Selection options, respectively. Output is printed to the console.
Column List
The list contains the column that are available in the input table. Double click any of the column names to insert the respective field in the expression editor. It will replace your current selection or simply insert at the current caret position.
Flow Variable List
The list contains the flow variables that are currently visible to the node. Double clicking any of the entries will insert the respective identifier at the current cursor position in your expression editor, replacing the current selection.

Templates

Category
A template category defined by the author.
Title
Name of the template.
Description
A brief overview of the purpose of the template.
Preview
The code to be applied to your expression editor.

Advanced

Overwrite default path to R home
Check this option to select a path to the home of a R installation that is different from the path configured on the R preference page. The path must point to the root folder of the R installation tree. You can either specify the path directly or use the R installation in a conda environment. The conda environment can be specified using a conda environment flow variable from e.g. a “Conda Environment Propagation” node.

Input Ports

Icon
R Input (Workspace)

Output Ports

Icon
R Output (Workspace)

Views

R Std Output
The text sent to standard out during the execution of R executable as well as the text of the .Rout file generated by R.
R Error Output
The text sent to standard error during the execution of R executable as well as the text of the .Rout file generated by R. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)

Workflows

Further 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.