wait_for_nonmem: Wait for NONMEM models to finish

wait_for_nonmemR Documentation

Wait for NONMEM models to finish

Description

Calling wait_for_nonmem() will freeze the user's console until the model(s) have finished running.

Usage

wait_for_nonmem(.mod, .time_limit = 300, .interval = 5)

## S3 method for class 'bbi_nonmem_model'
wait_for_nonmem(.mod, .time_limit = 300, .interval = 5)

## S3 method for class 'list'
wait_for_nonmem(.mod, .time_limit = 300, .interval = 5)

Arguments

.mod

a bbi_nonmem_model object, or list of bbi_nonmem_model objects.

.time_limit

integer for maximum number of seconds in total to wait before continuing (will exit after this time even if the run does not appear to have finished).

.interval

integer for number of seconds to wait between each check.

Methods (by class)

  • wait_for_nonmem(bbi_nonmem_model): takes a bbi_nonmem_model object.

  • wait_for_nonmem(list): takes a list of bbi_nonmem_model objects.


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.