Skip to content

Allow for argument to specify maximum time by which each expression should be allowed to run #137

Description

@tomwenseleers

Was just wondering if it would be possible to allow for an argument to specify the maximum time by which each expression should be allowed to run? If I benchmark a given expression over a grid of values I now often run into problems whereby some combinations take a very long time to finish & I would like those to be terminated after a given time.

I presume this could be done with some of the solutions mentioned here, https://stackoverflow.com/questions/7891073/time-out-an-r-command-via-something-like-try, e.g. using R.utils::withTimeout() or setTimeLimit? (though these functions may only be able to interrupt R and not C or C++ coded functions)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions