View source: R/returnSessionInfo.R
returnSessionInfo | R Documentation |
Print general R session info, current date/time, and loaded git repo versions to stdout or file. Note this uses sessionInfo() from base R, but an argument could be made to use session_info() from devtools.
returnSessionInfo(outDir_v = NULL, loadDirs_v = NULL, args_lsv = NULL)
outDir_v |
optional directory to write information to. Default is to print to stdout |
loadDirs_v |
vector of directory paths that have been sourced in script. Note, if using the utility function sourceDir, these will be the same paths. |
args_lsv |
optional list of arguments used as input. Could be from optparse (easiest), or can hand-make a list of arguments. |
multiple lines of text printed to stdout or written to file
returnSessionInfo()
returnSessionInfo("~/Desktop/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.