echo: echo

View source: R/echo.R

echoR 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)
}))

mark documentation built on Oct. 23, 2023, 9:06 a.m.

Related to echo in mark...