| label_src | R Documentation |
Generate a label with the current source file path and run time,
assuming that the source file is in the current working directory.
In interactive sessions, the function is designed to work in a script file in RStudio
and uses rstudioapi to get the file path.
It will return empty if run in the console directly.
label_src(span = 1, omit = "", tz = TRUE, fname = FALSE)
span |
|
omit |
|
tz |
|
fname |
|
A label showing the source file path with a time stamp.
label_src()
label_src(tz=FALSE)
label_src(fname=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.