Learn R Programming

docore (version 1.0)

tock: Stop timer

Description

Stop timer and write the computation in seconds since the last call of tick().

Usage

tock(txt = "")

Arguments

txt

optional custom text to be displayed

Value

None

See Also

tick

Examples

Run this code
# NOT RUN {
tick('Sum 10 million random numbers')
x = sum(runif(1e7))
tock()

# }

Run the code above in your browser using DataLab