50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

madrat (version 3.15.6)

getMadratMessage: getMadratMessage

Description

Read a madrat message from the madrat environment. The madrat environment behaves similar like global options, except that 1) messages will also be stored in cache files and restored when a cache file is being loaded and 2) messages are always stored in lists with messages split by function calls where the message was triggered.

Usage

getMadratMessage(name = NULL, fname = NULL)

Arguments

name

The category in which the message should be stored

fname

function name. If specified only messages belonging to the functions history will be returned (this includes entries from the function itself, but also entries from functions which were called by this function).

Author

Jan Philipp Dietrich

See Also

getMadratMessage

Examples

Run this code
putMadratMessage("test", "This is a toast", fname = "readTau")
getMadratMessage("test", fname = "calcTauTotal")

Run the code above in your browser using DataLab