Learn R Programming

Jmisc (version 0.3.1.1)

tic: Start Stop clock to measure performance

Description

Start/clock to measure performance. Same as tic and toc in matlab

Usage

tic(name = ".time_Jmisc", envir = .GlobalEnv)

toc()

Arguments

name

Name of the temporary time variable

envir

environment of the temporary time variable

Examples

Run this code
# NOT RUN {
tic()
Sys.sleep(1)
toc
# }

Run the code above in your browser using DataLab