I must say that the added value of knime is the human factor, the possibility of coming into contact with experts like you who help others to grow in the knowledge of tools that have the potential that otherwise in this case I would not have been able to exploit, so , first of all, thanks mlauber and thanks knime community!
As I said I am not a programmer, I am a beginner in R and in knime I am almost self-taught, and I am sure that some of my questions are “stupid” because a better knowledge of R and the R Source node would be enough to get there by itself, but time is short and I have a deadline, so here are my problems:
- Set work directory: I can’t get it to work: what should I do?
workpath_r <- knime.flow.in[[“context.workflow.absolute-path”]]
workspace_name <- paste0(workpath_r, “/workspace_r.RData”)
dataobject_name <- paste0(workpath_r, “/datalist_r.rds”)
setwd(workpath_r) # Set work directory
- save and load the working environment, saveRDS: how to implement these commands? Is it enough to remove the hashtags?
# big_data = do.call(rbind, datalist)
Till now, the console of the R Source node shows this message:
R cannot be initialized.
R Home is invalid.
PS: thank you for the iterative code in the middle, it’s just as it I should have done it if I was an informatic!