Learn R Programming

loggit2 (version 2.3.1)

set_echo: Set echo

Description

Set echo

Usage

set_echo(echo = TRUE, confirm = TRUE)

Value

Invisible the previous echo setting.

Arguments

echo

Should log messages be echoed to stdout?

confirm

Print confirmation message of echo setting?

Examples

Run this code
if (FALSE) {
 set_echo(TRUE)
 set_echo(FALSE)
}

Run the code above in your browser using DataLab