on-internet
← Community

how to get mclapply in R to give me informative error messages

Stack Overflow ·

Typical setup for mclapply, I have a list of tasks and a function to execute them. If some of the tasks fail, mclapply gives a warning of this form: Warning message: In mclapply(as.list(liste_excel), eine_excel_tabelle_erzeugen, mc.preschedule = FALSE) : 3 function calls resulted in an error This is profoundly unhelpful, I just gave it a few hundred tasks to do and knowing that some of them didn't work means I have a problem to fix but I have no idea where. I would like to know which tasks failed. In my case the tasks are something like generate a Latex document or run an sql script so the mcl

Comments

Sign in or sign up to comment and upvote.

No comments yet.