View source: R/putMadratMessage.R
putMadratMessage | R Documentation |
Store a madrat message in 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.
putMadratMessage(name, value, fname = -1, add = FALSE)
name |
The category in which the message should be stored |
value |
The message that should be recorded as character. Alternatively,
if |
fname |
function name the entry belongs to or the frame number from which the function name should be derived from (e.g. -1 to recieve function name from parent function). |
add |
boolean deciding whether the value should be added to a existing value (TRUE) or overwrite it (FALSE) |
Jan Philipp Dietrich
putMadratMessage
putMadratMessage("test", "This is a toast", fname = "readTau")
getMadratMessage("test", fname = "calcTauTotal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.