echo {mark}R Documentation

echo

Description

Run expressions with logging outputs

Usage

echo(exprs, to = stdout(), msg = TRUE)

Arguments

exprs

Expressions

to

Output locations

msg

If FALSE does not print results from message()

Examples

try(echo({
  1 + 1
  Sys.sleep(2)
  head(mtcars)
  message(1)
  warning(2)
  stop(3)
}))

[Package mark version 0.7.0 Index]