Error reading error output of external R process.

Hi @abadoi

Welcome to the KNIME Community!

I guess you’re using this example workflow in your test.

I ran the same without any errors, which makes it a bit difficult to grasp what might be going wrong on your machine. Maybe the issue is caused by the version of R?

In my R setup in Knime I followed the description I found in the topic Install R alongside KNIME on Windows and MacOS.
The actual path to R Home in the preferences (File > Preferences > Knime > R) I’m using is the one which refers to an R-environment I created using Anaconda.


This gives me the possibility to maintain installation of packages via RStudio (under Anaconda) which is easier than from within the R snippets in Knime.
I use this environment too when “just using R” (so not from within Knime). This way I have the same set of packages available in both RStudio and Knime.

The R version in this environment is R3.6.1. As said, this version doesn’t give the errors you noticed.

Hope this helps you a bit further.

Kind regards,
Jan

1 Like