Description Usage Arguments Details Examples
This function is used to control execution time when running long simulations. Only GNU/Linux with libnotify macOS are supported right now.
1 |
call |
Any (?) R call |
The function does the following things:
execute any R call
print the elapsed time to execute it
send a permanent desktop notification
emit a completion alert sound
1 2 | time_chunk(print("hello world"))
time_chunk(a <- seq(1:10000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.