0 ×

R to Table

KNIME R-Project nodes version 4.1.0.v201911110939 by KNIME AG, Zurich, Switzerland

Converts a data frame from an R workspace into a KNIME data table. The result data is returned at the data out-port. Please, use the variable name knime.out for the data frame.

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

Options

R Snippet

R Script

The R commands to run. The data frame that should appear at the output is expected to be stored in knime.out.

The node also allows to access and modify flow variables. You can access all flow variables at knime.flow.in and please add all new or modified flow variables to the list at knime.flow.out.

Examples

Take the input "data" and send it to the output:

knime.out <- data.frame(data)

Read the data from the file defined by the flow variable fname:

data <- read.table(knime.flow.in[["fname"]])

Compute students t-test and store the p-value in the flow variable p.value:

h <- t.test(knime.in["d"])
knime.flow.out <- list(p.value = h[["p.value"]])
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 - Title

A categorized list of R script templates. The apply button at the left will replace the R script and guide you to the R Snippet tab.

Please use "Create Template..." button on the R Snippet tab to add the current R script to the list of templates.

Advanced

NaNs
Convert NaN and +/-Infinity output to missing cells. Enable this for backwards compatibility with the behavior before version 2.10.

Input Ports

R Input

Output Ports

Data Table Output

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

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Interactive R Statistics Integration from the following update site:

KNIME 4.1
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.

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.