Description Usage Arguments Value See Also Examples
Tests to see if R is running in batch mode/interactively.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | assert_is_batch_mode(severity = getOption("assertive.severity", "stop"))
assert_is_interactive(severity = getOption("assertive.severity", "stop"))
assert_is_r_slave(severity = getOption("assertive.severity", "stop"))
assert_is_slave_r(severity = getOption("assertive.severity", "stop"))
is_batch_mode()
is_interactive()
is_r_slave()
is_slave_r()
|
severity |
How severe should the consequences of the assertion be?
Either |
is_batch_mode
returns TRUE
if R is running in batch
mode.
is_interactive
returns TRUE
if R is running interactively.
EnvVar
and interactive
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.