Skip to content
Discussion options

You must be logged in to vote

This is an interesting use case and I think you distilled the need quite well - "How can we pass on settings to parallel workers without having to instruct the end-user to so?"

Right now I don't think there's another way, that having the user call an "init" function in the future iterations. However, this is something worth thinking about how it can be improved. I'm going to think out loud here ...

I don't think you're asking for additional arguments in the Future API (future(), future_map(), ...) to declare which settings to pass down. For example, I already have proposal #480 on how to explicitly pass R options and environment variables along with a future. But that would still require …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@h-a-graham
Comment options

Answer selected by h-a-graham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants