Learn R Programming

histry (version 0.2.4)

histropts: histry

Description

These functions return the set of successfully evaluated expressions (histry) and the HistoryTracker object (histry_tracker) for the current context.

Usage

histropts()

histry()

histry_tracker()

histry_addinfo(...)

histry_setinknitr(val)

Arguments

Info to be added

val

Logical value indicating whether the evaluation context is currently in a knitr/rmarkdown.

Value

A list of R code expressions for histry and a HistoryTracker object for histry_tracker

Details

This means that when called during a knitr-based weaving process, the expressions will be those previously evaluted durign that process, and the tracker will be a KnitrHistoryTracker. When called outside of the weaving context, the top-level-expression history and history tracker will be returned, respectively.