There is a new KNIME forum. You can still browse and read content from our old forum but if you want to create new posts or join ongoing discussions, please visit our new KNIME forum: https://forum.knime.com

error in KNIME R Integration Node

Member for

1 year 3 months sguarny

Hi,

for my scope I'm tryng to use mvOutlier of MVN R library in Knime with the R Snippet Node. To test the correct working I have runned this function in R and in Knime on the same database (the classic iris dataset) .

But there is a strange problem: when I run the R snippet node in Knime with this two command:

1- library(MVN)
2- knime.out <- mvOutlier(knime.in, qqplot = TRUE, method = "quan",label = TRUE)

I obtain exactly the same output PLOT on R but at the same time the R snippet node go to Execution Failed: "ERROR R Snippet            0:829      Execute failed: R evaluation failed".

With this error I cannot view the results on output table of R snippet node.

Thank you for any supports or suggestions

Comments
Wed, 10/11/2017 - 02:40

Member for

1 year 8 months

RolandBurger

Hi sguarny,

KNIME expects to receive a dataframe from R as knime.out. Can you confirm that the object created by the mvOutlier is a dataframe? If not, you have to convert it first.

Cheers,

Roland