Learn R Programming

qreport (version 1.0-1)

hooktime: hooktime

Description

Create knitr Hook for Reporting Execution Time for Chunks

Usage

hooktime(all = FALSE)

Value

nothing

Arguments

all

set to TRUE to time every chunk without the need for time=TRUE in the chunk header

Author

Frank Harrell

Details

Creates a hook called time that can be activated by including time=TRUE in a chunk header. The chunk's execution time in seconds will be printed in a very small html font at the end of the chunk's output.

See Also

this and timeMar()