0 ×

Fix Column Names

RSnippet-Node extension for KNIME Workbench version 4.0.0.v201906200740 by Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)

Renames automatically column headers to obtain valid column names for an R data-frame. By default this is done by replacing certain operator symbols if they are the first character in the column name.

Operator symbols that are replaced (using KNIME): "+" is replace by "Plus",
"-" is replace by "Minus",
"*" is replace by "Times",
"%" is replace by "Percent",
":" is replace by "DivBy",
"/" is replace by "DivBy".

Alternatively the R can be used to generate R-compatible column names. Then the Rserve needs to be running and R uses the funtion "make.names". For a description look here: R manual (make.names)
If this option is checked then this node is using R as backend, make sure that Rserve is running somewhere, and Knime is accordingly configured (Knime->Preferences). Scripting integration Wiki (R server)


Use strict name matching
If enabled the node will use the method make.names of R to make R-compatible column names.

Input Ports

A table which might contains column names that are not compatible with R.

Output Ports

A table with R-compatible column names.

Best Friends (Incoming)

Best Friends (Outgoing)


To use this node in KNIME, install KNIME R Scripting extension 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.


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.