View source: R/xgx_dirs2char.R
xgx_dirs2char | R Documentation |
xgx_dirs2char
returns a character variable based on the dirs list.
The caption gives the filename
xgx_dirs2char(dirs, include_time = TRUE)
dirs |
list containing directories and filenames. It must contain five fields
|
include_time |
is logical with default TRUE. If TRUE, it includes date / time in the output character |
character
dirs <- list(parent_dir = "/your/parent/path/",
rscript_dir = "./Rscripts/",
rscript_name = "Example.R",
results_dir = "./Results/",
filename = "your_file_name.png")
caption <- xgx_dirs2char(dirs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.