Can future output file inside loop? #582
-
f.toy <- function(x){ foreach(i = 1:3) %dopar%{ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Yes, you can save to files inside a future expression. But, it'll save to the file system where the worker is running, which is fine if you use sequential, multisession, multicore, or other localhost backends. |
Beta Was this translation helpful? Give feedback.
-
FWIW, independently of futures, I highly recommend using |
Beta Was this translation helpful? Give feedback.
Yes, you can save to files inside a future expression. But, it'll save to the file system where the worker is running, which is fine if you use sequential, multisession, multicore, or other localhost backends.