[general] General questions on multi-core processes and dispatched targets. #1254
Replies: 2 comments 1 reply
-
I think I can answer some of your questions...
|
Beta Was this translation helpful? Give feedback.
-
Yes, a reprex would make it easier to answer your question.
If {targets} is not recognizing it as complete, it sounds like there is something you need to fix instead of just ignoring it by commenting-out the code. Again, a reprex would help. Alternatively, if you have a good reason to always ignore a particular target, you could do this with the
Yes, I recommend trying |
Beta Was this translation helpful? Give feedback.
-
Help
Description
Hey all, hope it is ok to combine my questions in one thread:
my computer crashed... Will dispatched targets be continued or restarted?
is there a way to force targets to recognise specific targets as complete/incomplete? Say I add a couple of comments, targets thinks that part of the pipeline is out-of-date but functionally it has not changed.
Is there a way to see print statements across cores when using tar_make_future? I figure it is not possible since it is effectively spinning up a bunch of R instances, the console on my screen can't print from sub processes and that's why I only see print statements from the last remaining process. But it would be super useful if I could see the progress of multiple processes.
Is nesting multi-core processes bad practice (or even possible...?)? Say I have a function that can run over multiple cores and I call that function in a targets pipeline. Take this example:
Appreciate anyone who reads all that! Hopefully they are simple questions that I haven't been able to dig up the answers for in the documentation!
TIA!your topic and provide a reprex if troubleshooting.
Beta Was this translation helpful? Give feedback.
All reactions