I’m currently attempting to output box plots on a WebPortal workflow using the R Plot node, tucked inside a component for output. When I run the workflow, the R Plot node is the only one that fails and causes it to finish with a status of Workflow Not Executed. The other output nodes (conditional box plot, bar chart) would show an image output just fine and the workflow would execute as expected, so I have to assume it has to do with the R Plot node (or R) specifically.
The entire workflow runs as expected locally, the only issue is on the WebPortal. Any idea on why there’s an issue?
HI @chancock20 Welcome to the KNIME Community forum.
The problem you are experiencing is caused by not having R preferences configured properly on the server. The KNIME Executor needs to know where to find the R executor. This can be done by adjusting the customization profiles that are used by the knime executor.
Basically what you need to do is
make sure that R is installed on the machine where the executor is running together with the necessary packages (if there are any)
Point the KNIME executor to the R installation with customization profiles. This is simply adding a line to one of the executor profiles (.epf files) that are managed by the server.
Here is an example setting to add to a .epf file /instance/org.knime.ext.r.bin/knime.r.home=/usr/local/lib/R
Relevant documentation can be found following the links below.