Skip to content

Pass down future.* options #223

Closed
Closed

Description

@HenrikBengtsson

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions