dance_remove {matahari}R Documentation

Remove your logging history.

Description

Remove your logging history.

Usage

dance_remove()

Value

Either TRUE if the log was removed or FALSE if the log does not exist (invisibly).

Examples

## Not run: 
library(knitr)

# Start recording
dance_start(value = TRUE)

# Execute some expressions
"Hello!"
4 + 4

# Stop recording
dance_stop()

# Access log of your session
kable(dance_tbl()[3:4, 1:5])

## |expr   |value  |path |contents |selection |
## |:------|:------|:----|:--------|:---------|
## |Hello! |Hello! |NA   |NA       |NA        |
## |4 + 4  |8      |NA   |NA       |NA        |

# Deletes the lgo of your session
dance_remove()

# With no log, dance_tbl() returns NULL invisibly.
withVisible(dance_tbl())

## $value
## NULL
##
## $visible
## FALSE


## End(Not run)

[Package matahari version 0.1.3 Index]