Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass down future.* options #223

Closed
HenrikBengtsson opened this issue May 7, 2018 · 0 comments
Closed

Pass down future.* options #223

HenrikBengtsson opened this issue May 7, 2018 · 0 comments

Comments

@HenrikBengtsson
Copy link
Collaborator

HenrikBengtsson commented May 7, 2018

Some of the future.* options need to be passed down / forwarded if not set otherwise (e.g. in .Rprofile on worker). For example, the following should probably be considered:

  • future.global.maxSize
  • future.globals.onMissing
  • future.globals.method
  • future.globals.resolve
  • future.globals.onReference
  • future.resolve.recursive

See ?future.options for all future-specific options.

Background

From #134 (comment).

So, future.global.maxSize is also not passed down. That leaves me in a pickle.
I send jobs to a Torque cluster from my local. The jobs call brms, which has a future = TRUE argument, so that each of its chains is run according to plan. But these chains are bigger than 500Mb so this fails and I cannot change it, because I cannot alter options in the futures that brms creates.
I think all future options should always be passed down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant