Learn R Programming

mirai (version 2.4.1)

on_daemon: On Daemon

Description

Returns a logical value, whether or not evaluation is taking place within a mirai call on a daemon.

Usage

on_daemon()

Arguments

Value

Logical TRUE or FALSE.

Examples

Run this code
if (FALSE) { # interactive()
on_daemon()
mirai(mirai::on_daemon())[]
}

Run the code above in your browser using DataLab