View source: R/read_runtime_log.R
read_runtime_log | R Documentation |
Obtains the elapsed job time in seconds from a standard Peregrine HPCC log file
read_runtime_log(log_lines, log_file_path)
log_lines |
Character vector containing the contents of the log files
as read by |
log_file_path |
A string with the path for a standard Peregrine HPCC log file. |
An atomic numeric vector with the elapsed run time of the associated job in seconds.
Pedro Santos Neves
## Not run:
log_lines <- read_log_file("logs/robustness-22353751.log")
runtime <- read_runtime_log(
log_lines = log_lines,
log_file_path = "logs/robustness-22353751.log"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.