By process of elimination, I rand the command line script after removing each node 1 by 1 from the end. I found that if I remove the R nodes then it executes successfully.
Is there any way to make the command line execution work with the R nodes? I’m trying to automate the execution, and I don’t want to keep opening KNIME manually and executing the workflow.
Any insight would be appreciated!
If I try just executing without the libraries by taking converting the table to an R dataframe and back to a table again, its fine. So its not the R node per say, but Knime trying to call R libraries from the command line execution.
has anyone done this before?
Hi @mlauber71
The R code I showed was just the first few lines that i truncated for testing. The actual R code is a bit longer. If I were to convert it to KNIME it would blow up the flow and make it very complicated.
Could you advise where I can find the complete log file that is generated when I execute in batch mode?
Thank You
@thentangler I do not have a consitant guide how to obtain the batch log. You should check out some threads in the forum about that.
Currently I would assume the problem might be with the R lubridate library. What version of R are you using?
You could try and use the community R nodes, but that would mean you have to have R with Rserve running when knime is being started. Never tried that with a batch system.