time_output {flowGraph}R Documentation

Outputs elapsed time.

Description

Given a time, prints the time elapsed from that time until now.

Usage

time_output(start, msg = "")

Arguments

start

A time variable of class POSIXct, POSIXt.

msg

A string with a message to print out after the elapsed time.

Value

Prints to console, the time from which process started start - ended, and > time elapsed from start until now.

Examples


 start <- Sys.time()
 flowGraph:::time_output(start,'start - now > time elapsed')


[Package flowGraph version 1.2.0 Index]