R Source (Table)

A node for reading diverse data sources from R into a KNIME table. Use this when there are R functions that you want to use to read an exotic file into KNIME. The R library "foreign" provides some examples of such functionality.

More details about R:

http://www.r-project.org/
Short-refcard.pdf

library(foreign)

Options

R Snippet

R Script
The code being executed in R. The output to be picked up by KNIME must be a data frame named knime.out.
Flow Variable List
The list contains the flow variables that are currently available at the node input. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).

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

NaNs
Convert NaN and +/-Infinity output to missing cells. Enable this for backwards compatibility with the behavior before version 2.10.
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

This node has no input ports

Output Ports

Icon
A table containing new data from the R data frame named knime.out.

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

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.