Learn R Programming

assertive (version 0.2-6)

assert_is_batch_mode: How is R running?

Description

Tests to see if R is running in batch mode/interactively.

Usage

assert_is_batch_mode()

assert_is_interactive()

is_batch_mode()

is_interactive()

Arguments

Value

  • is_batch_mode returns TRUE if R is running in batch mode. is_interactive returns TRUE if R is running interactively.

See Also

EnvVar and interactive.