Learn R Programming

icecream (version 0.2.2)

ic_peek: Peek at value of expression

Description

This function is a proxy for calling peeking function.

Usage

ic_peek(
  value,
  peeking_function = getOption("icecream.peeking.function"),
  max_lines = getOption("icecream.max.lines")
)

Value

A string to be printed.

Arguments

value

The result of evaluating an expression inside the ic() function.

peeking_function

The function used to peek at the value. Default value is set by the "icecream.peeking.function" option.

max_lines

Maximum number of lines printed. Default value is set by the "icecream.max.lines" option.

Details

Default value of icecream.peeking.function is ic_autopeek. Suggested possible alternatives are:

See Also