Description Usage Value Examples
Remove your logging history.
1 |
Either TRUE
if the log was removed or FALSE
if the log
does not exist (invisibly).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.