How to import csv file into the KNIME R Nodes

I’m struggling on how to use the KNIME R nodes to access a csv file. I’m exploring the KNIME R interface.

Hi @reichmaj,

In the R Snippet node you can pass the CSV file or any output to the “knime.out” variable and the output of the node will contain the table.

E.g.:
knime.out <- read.csv("C:/input.csv")

:blush:

3 Likes

I like the R package readr because it also deals with ‘complicated’ CSV files.

https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_import_csv_r_readr

3 Likes

Thanks - where on the KNIME site are the R nodes help file s, examples etc

1 Like

take a look at the KNIME hub

4 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.