Description Usage Arguments Details Value See Also Examples
This method starts the recording process and the method endRecord() completes it.
1 2 3 4 5 | startRecord(recordr, ...)
## S4 method for signature 'Recordr'
startRecord(recordr, tag = as.character(NA),
.file = as.character(NA), .console = TRUE, log = as.character(NA))
|
recordr |
a Recordr instance |
... |
additional parameters |
tag |
a string that is associated with this run |
.file |
the filename for the script to run (only used internally when startRecord() is called from record()) |
.console |
a logical argument that is used internally by the recordr package |
log |
A character string. If .console=TRUE, the file to log console commands to. The default is 'console.log'. |
The startRecord() method can be called from the R console to begin a recording session during which provenance is captured for any functions that are inspected by Recordr. This recordr session can be closed by calling the endRecord() method. When the record() function is called to record a script, the startRecord() function is called automatically.
execution identifier that uniquely identifies this recorded session
Recordr
class description
1 2 3 4 5 6 7 | ## Not run:
rc <- new("Recordr")
startRecord(rc, tag="my first console run")
x <- read.csv(file="./test.csv")
runIdentifier <- endRecord(rc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.