Description Usage Value Examples
Get the log as a tibble
1 |
Either a tibble::tibble()
containing your logged history or NULL
.
if there is no log.
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 | ## 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
dance_tbl()
# Display the log nicely
kable(dance_tbl()[3:4, 1:5])
## |expr |value |path |contents |selection |
## |:------|:------|:----|:--------|:---------|
## |Hello! |Hello! |NA |NA |NA |
## |4 + 4 |8 |NA |NA |NA |
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.