Start logging your R console activity. If you're using RStudio the contents of your current editor tab will also be tracked. All logging takes place when R code is executed in the R console.
dance_start(expr = TRUE, value = FALSE, path = FALSE, contents = FALSE, selection = FALSE)
expr | The R expressions typed into the R console will be logged unless
this is set to |
---|---|
value | Values that are computed on the R console will be logged unless
this is set to |
path | The path to the file in focus on the RStudio editor will be logged
unless this is set to |
contents | The file contents of the RStudio editor tab in focus will be
logged unless this is set to |
selection | The text that is highlighted in the RStudio editor tab in
focus will be logged unless this is set to |
# NOT RUN { dance_start() "Hello!" 4 + 4 x <- 7 x^2 rm(x) x dance_stop() # }