0 ×

R To PMML

KNIME R-Project nodes version 4.4.0.v202106251046 by KNIME AG, Zurich, Switzerland

Converts a given R object, e.g. as generated by the R Learner node as knime.model, into a corresponding PMML object that can then be used together with all KNIME predictors supporting PMML. The R object is first loaded into a new R workspace and then converted into PMML (using the PMML library in R). The toString() method in R is used to generate a character stream describing the PMML object which is written to the PMML out-port.

More details about R and PMML:
R project
PMML standard

Options

R Snippet

R Script
The code being executed in R. Input model should be previously made available in the R workspace as knime.model, while the desired output must be a string named knime.model.pmml.
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 variable at the current cursor position.

Advanced

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

Icon
R object generated by a R node

Output Ports

Icon
PMML object

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

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.