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
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"])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.
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.
To use this node in KNIME, install the extension KNIME Interactive R Statistics Integration from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!