Learn R Programming

cli (version 3.6.3)

pretty_print_code: Turn on pretty-printing functions at the R console

Description

Defines a print method for functions, in the current session, that supports syntax highlighting.

Usage

pretty_print_code()

Arguments

Details

The new print method takes priority over the built-in one. Use base::suppressMessages() to suppress the alert message.