Learn R Programming

icecream (version 0.2.2)

enable-disable: Enable or disable ic()

Description

These functions enable or disable the ic() function. While disabled ic() will do nothing except evaluate and return its input.

Usage

ic_enable()

ic_disable()

Arguments

Value

Returns the old value of the option, invisibly.

Functions

  • ic_enable(): Enable ic().

  • ic_disable(): Disable ic().

Details

These are just convenience wrappers for options(icecream.enabled = TRUE/FALSE) used to align the API with the Python version.