IconR Predictor0 ×

DeprecatedKNIME R-Project - obsolete nodes registration version 3.6.0.v201805031004 by KNIME AG, Zurich, Switzerland

Allows execution of R command to use the R model at the model in port to predict the class of the data at in data in port. The predicted data is returned in the data output port. All input data is written to a CSV file and imported into R, saved in the variable named RDATA. The model is imported into R too saved in the variable named RMODEL.

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

Options

R Command

R Snippet
The R prediction commands to run, default:
R<-cbind(RDATA, predict(RMODEL, RDATA))
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 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

R Model Input
Data Input

Output Ports

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

Workflows

Update Site

To use this node in KNIME, install KNIME R-Project - obsolete nodes registration from the following update site:

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.