Learn R Programming

mirai (version 2.5.1)

info: Information Statistics

Description

Retrieve statistics for the specified compute profile.

Usage

info(.compute = NULL)

Value

Named integer vector or else NULL if the compute profile is yet to be set up.

Arguments

.compute

character value for the compute profile to use (each has its own independent set of daemons), or NULL to use the 'default' profile.

Details

The returned statistics are:

  • Connections: active daemon connections.

  • Cumulative: total daemons that have ever connected.

  • Awaiting: mirai tasks currently queued for execution at dispatcher.

  • Executing: mirai tasks currently being evaluated on a daemon.

  • Completed: mirai tasks that have been completed or cancelled.

For non-dispatcher daemons: only 'connections' will be available and the other values will be NA.

See Also

status() for more verbose status information.

Examples

Run this code
if (FALSE) { # interactive()
info()
daemons(1)
info()
daemons(0)
}

Run the code above in your browser using DataLab