Skip to content

timeout for remoter::batch #56

@philaris

Description

@philaris

Is there a way to specify a timeout for a remoter::batch request, e.g., in case the remote server is non-existent or is not running a remoter server? For example, the following code blocks forever:

remoter::batch(addr = 'non_existent_host', script = 'ls()')

I tried with R.utils::withTimeout, but is does not work, because I guess that the block happens in C code where user interrupts are not allowed.

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