Batch file fails to load R packages correctly - function "ymd" not found etc

I thought about a few things. Have you tried to execute the lines before this one just from within the R Snippet. Does this also not recognise the lubridate package?

What is the purpose of days(1) - is there a function to substitute that?

Then your batch seems to start from a path with blanks and brackets in the path name. Have you tried to move it to a simpler path like c:\knime_wf\my_wf without any special characters.

1 Like