Result of the snippet node

How to create a table from the result of the snippet node “R Std Output”?

Regards

@Gfranco2021 welcome to the KNIME forum

Could you specify what what node you are dealing with. I have some R examples on the KNIME hub so you could try to check them out or maybe give us more details.

If you start with R and KNIME there is the official guide that could help you and I also have a collection about more advanced issues and problems that might occur.

3 Likes

Hello, I’m trying to do it from the same R snippet node, with the code “knime.out ← data.frame (knime.stdout)”.

However, I get complicated when separating the columns and rows.

I share the image of the result that I want to pass to a table automatically:

Regards

only idea I could derive from this information is that you might have to use

as.data.frame(<your r data>)

Otherwise you might want to provide us with more details maybe an example of a log file.

1 Like

Hi, I share a hypothetical example.

01_Example_of_R_Snippet v1.knwf (7.8 KB)

Regards,

mlauber,

this is the result that I want to display in table format

image

regards,

@Gfranco2021 you could easily convert the “nov1” to the dataset you want. The matrix “nov” would need some more converting though

2 Likes

Hi mlauber71,

Excellent, thank you very much.

Regards,

2 Likes

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