R Source (Table)

This Node Is Deprecated — This version of the node has been replaced with a new and improved version. The old version is kept for backwards-compatibility, but for all new workflows we suggest to use the version linked below.
Go to Suggested ReplacementR Source (Table)

A source node for reading a diversity of data types from R into KNIME tables. Use this when there are R functions that you want to use to read a table into KNIME. The foreign library provides an example of some such functions.

More details about R:

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

library(foreign)

Read .spss from SPSS
R = read.spss(path_to_spss_file)

Read xport from SAS xport format library
R = read.xport(path_to_SAS_xport_file)

Read Stata .dta files (binary file format)
R = read.dta(path_to_stata_file)

Read dbf from XBase family (Fox Pro et. al)
R = read.dbf(path_to_xbase_file)

Read a 'Minitab Portable Worksheet' file
R = read.mtp(path_to_mtp_file)

Options

R Command

R Snippet
The R commands being executed in R.
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).

R Binary

R binary path
Path to the local R executable. Note that it is possible to specify the path to the local R executable also in the R section of the KNIME preferences.
Arguments for R binary
Add additional arguments run together with the R binary. The '--vanilla' mode ensures a clean workspace and may cause problems when removed.
Override default
If checked, the specified file is used as R binary. If not checked, the file specified in the KNIME's R preferences is used.

Input Ports

This node has no input ports

Output Ports

Icon
A table containing new data from R

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

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

  • No workflows found

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.